Thank you very much.
I'll try.
Jamie
Kevin Middleton-3 wrote:
Jamie,
Try it as:
data2 - read.table(pipe('pbpaste'), header = T)
I have a read.clipboard() function defined in ~/.Rprofile:
read.clipboard - function(){read.table(pipe('pbpaste'), header = T)}
Also see the
Thank you very much!
See, I'm a new user both for R and mac.. :-)
Jamie.
Prof Brian Ripley wrote:
On Tue, 28 Apr 2009, Jamie.lannister wrote:
Hi I'm a mac user. I have problems loading data from mac excel in R.
I'm using these script:
library(utils)
data2 -
Hi I'm a mac user. I have problems loading data from mac excel in R.
I'm using these script:
library(utils)
data2 - read.table(file(clipboard), header =T, sep =\t)
but this is the message that I have from R_
Error in open.connection(file, r) : cannot open the connection
In addition:
Jamie,
Try it as:
data2 - read.table(pipe('pbpaste'), header = T)
I have a read.clipboard() function defined in ~/.Rprofile:
read.clipboard - function(){read.table(pipe('pbpaste'), header = T)}
Also see the Clipboard section of ?pipe.
Cheers,
Kevin
On Tue, 28 Apr 2009, Jamie.lannister wrote:
Hi I'm a mac user. I have problems loading data from mac excel in R.
I'm using these script:
library(utils)
data2 - read.table(file(clipboard), header =T, sep =\t)
but this is the message that I have from R_
Error in open.connection(file,
5 matches
Mail list logo