Message-ID: <971536df0712160750r3ee1b1a0w982302b63b23c6ff@mail.gmail.com>
Date: 2007-12-16T15:50:03Z
From: Gabor Grothendieck
Subject: reading data on code script.
In-Reply-To: <865708.15733.qm@web56011.mail.re3.yahoo.com>
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
<milton_ruser at yahoo.com.br> wrote:
> Dear All,
>
> It there a way of I read my data tab-separated on the own script, without read from a external file and without type the data?
>
> I would like something like
>
> mydata<- read.data(head=T, sep="\t")
> freqesperado
> 117.5
> 147.5
> 47.5
> 17.5
>
> ##END OF DATA
>
> Many thanks, miltinho
>
>
>
> para armazenamento!
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>