[R] Problem with table

Ambrosini Alessandro klavan at tiscalinet.it
Fri May 3 15:02:46 CEST 2002


Hello.
I have to import this table

aa bb cc vic
bb cif aa dd ee

Using "read.table" I want to obtain

  V1 V2  V3 V4  V5
1 aa bb  cc vic
2 bb cif aa dd  ee

but writing read.table("dat.txt",fill=TRUE) it gives me

    aa bb cc vic
bb cif aa dd  ee

and so it considers that the first column and the first row are the names of
columns and rows but it is not true because I want to consider everything as
data.
What have I to add into read.table?
Thanks
Ale

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list