apple-numbers

How to make a range in Numbers (iWork) using JXA

。_饼干妹妹 提交于 2019-12-12 13:15:07
问题 I'm using JXA for automating a process using Numbers app. What I need is to select a range of cells to apply width, but JXA doesn't allow me to get them. According to apple documentation I only need to use make or push the created object inside of array, but any ones work. This is my code and the Automator error: Option 1: var Numbers = Application('Numbers'); Numbers.Range({name: 'A2:A20'}).make(); // -> Error: Can't make or move that element into that container Option 2: var Numbers =

Can I access a Mac Numbers (.num) document from within R?

99封情书 提交于 2019-12-11 11:16:04
问题 I know I can use the RODBC library for accessing excel (.xls) docs from within Windows, but is there something similar for the Numbers program that come with iWorks? If not, what other solutions are there for easily editing a spreadsheet (like a lookup table) and accessing it within R? I know there the is an internal R editor, but I don't like it very much. 回答1: One alternative option you could consider is using Google spreadsheets. You can then access the data from either RGoogleDocs or