[R-SIG-Mac] import data
Simon Urbanek
simon.urbanek at r-project.org
Fri Jun 13 16:53:30 CEST 2008
On Jun 13, 2008, at 4:43 AM, Emiliano Guevara wrote:
> Hi,
>
> There's many ways to do it. I would suggest using comma separated
> values as a "bridge" filetype.
>
I find copy/paste more convenient for most simple tables - simply
select the table in Numbers, press <Cmd><C> (Copy) and then read the
clipboard in R:
read.table(pipe("pbpaste"))
Cheers,
Simon
> From Numbers, save your data as a .csv file (comma separated value).
> Then, in R, import the data from the file using:
>
> > read.csv(file.csv)
>
> That should be it,
>
> Best wishes,
>
> E.
>
>
> On Jun 13, 2008, at 05:34 AM, Peng Jiang wrote:
>
>> Hi ,
>> I have some data in Numbers, which is a data managing software for
>> Mac OS. How can I import them to R ?
>> Or how can I import my data from R to Numbers ? Any interfaces
>> between R and Numbers or something ?
>>
>> I am a newbie so if the question is toooooo simple, please take it
>> easy.
>>
>> Thanks!
>>
>> --------------------------
>> Peng Jiang
>> 江鹏
>> Ph.D. Candidate
>>
>> Antai College of Economics & Management
>> 安泰经济管理学院
>> Department of Mathematics
>> 数学系
>> Shanghai Jiaotong University (Minhang Campus)
>> 800 Dongchuan Road
>> 200240 Shanghai
>> P. R. China
>
> ****************************************
> Emiliano R. Guevara
> Facoltà di Lingue e Lett. Straniere
> Dipart. di Lingue e Lett. Straniere
> Università di Bologna
> Via Cartoleria 5 (40124) Bologna, Italia
> http://morbo.lingue.unibo.it/
> emiliano.guevara at unibo.it
> emiguevara at gmail.com
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list