[R] read.csv/mode

Boylan, Richard rboylan at cba.ua.edu
Thu May 23 18:01:46 CEST 2002

When I read the data in using read.csv with the new version of R (1.5,
windows version), variables that are clearly character, are read as numeric.
(Even thought there is not a single number in them.)

Also, the program I run in R merges different data sets and does a variety
of manipulations of the data.  The program works fine, except that, in the
data set that it generates (after 20 pages of code), the mode of most of the
variables is reversed.  Variables that should be numeric are character,
variables that are character are numeric, which is not something that
occurred when using version 1.4.1.   I have identified one source of the
problem (read.csv), but if anyone has guesses of other sources of the
problem, please let me know.


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