[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
>to do is to save the SPSS dataset as a tab-delimited (.dat) file, and
>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
file (using 'tr' or similar), or you often get factors instead of
variables out the other end.


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