[Rd] Suggestion for read.table()

gilescrane at verizon.net gilescrane at verizon.net
Wed Aug 30 22:02:45 CEST 2006


First, I compliment you all
for such a useful project as R.

Suggestion:  If read.table() could
take input from a character string,
then one could write

raw=
"  x   y  z
   1   2  3
   4   5  6
"
df = read.table(raw,head=TRUE)

Of course, one can
cat() to write raw into a 
temporary file,
and read.table() from that file.
However, direct reading 
might be a good option?

Hope this is useful.
Cordially
Giles Crane
gilescrane at verizon.net



More information about the R-devel mailing list