[R] Import files?
Jim Lemon
bitwrit at ozemail.com.au
Sat Feb 5 11:29:42 CET 2000
Mark's suggestion
>If you are working with only a few SPSS datasets, I think the easiest
thing
>to do is to save the SPSS dataset as a tab-delimited (.dat) file, and
then
>read in the tab-delimited dataset using the usual read.table command.
is the one I use, but make sure that you get rid of unwanted spaces in
the
file (using 'tr' or similar), or you often get factors instead of
numeric
variables out the other end.
Jim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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