[R] R 1.2.1 - read.table - factors problem or is it a data.frame problem

Heberto Ghezzo Heberto at meakins.lan.mcgill.ca
Thu Feb 1 13:49:08 CET 2001

I have some problems with read.table and floats turning up as 
factors. In my case it was not a blank in the file but an unary minus!!
so 3.24,-57.23,... the 3.24 is numeric but -57.23 is a factor.
Yes I turned it into a numeric with as.numeric(as.character(.. but I 
think it will be better to modify somehow the read.table/read.csv 
Thanks anyway.

R. Heberto Ghezzo  Ph.D.
Meakins-Christie Labs
McGill University
Montreal - Canada
heberto at meakins.lan.mcgill.ca
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