[R] R 1.2.1 - read.table - factors problem...

Jim Lemon bitwrit at ozemail.com.au
Wed Jan 31 12:23:20 CET 2001

This _may_ be another example of the "space" problem.  Numeric fields
with embedded spaces have often been converted to factors by read.table
(although I confess to not having the latest version).  I usually use

tr -d '\40' < oldfile > newfile

to remove the spaces and have no problem.


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