Yes, for some ways of running a script (and you haven't told us how your
intend to run this). E.g.
% Rscript foo.R
works, where
% cat foo.R
mydata <- read.table(stdin(), header=TRUE, sep="\t", nrow=6)
freqesperado
117.5
147.5
47.5
17.5
27.7
16.3
mydata
But, e.g. you can't use source() (it pa
Try this:
Lines <- "freqesperado
117.5
147.5
47.5
17.5
"
read.table(textConnection(Lines), header = TRUE)
On Dec 16, 2007 10:47 AM, Milton Cezar Ribeiro
<[EMAIL PROTECTED]> wrote:
> Dear All,
>
> It there a way of I read my data tab-separated on the own script, without
> read from a external fil
2 matches
Mail list logo