[R] read.table bug

Li Dongfeng mavip5 at inet.polyu.edu.hk
Thu Sep 9 15:17:38 CEST 1999


Suppose we have a data file containing:

"Smith, John", 120, 90
"Thomson, Peter", 110, 85

there are 3 variables in it. If we use 

x <- read.table("tmp.txt", sep=",")

to read the data to a data.frame,
the result will be 4 columns.
Splus 4.0 have no problem with this kind
of data.

Li Dongfeng
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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