On Sat, 20 Aug 2005, David Kaplan wrote:
Hi all,
I just need an answer to a simple question. I used S-Plus to import a
dataset from SPSS with no problem. I want to use S to read the data and do
some analyses not available in S-Plus. The problem is I simply don't the
correct command to bring the dataset into S. Also, can these kinds of
datasets be read into R?
I am afraid I don't know what you mean by `S' here: it usually refers to
the language or source code that at one time was available from Bell Labs
and is the basis of S-PLUS.
R can read various SPSS data formats (as can S-PLUS). If you want to know
how, look in R's `Data Import/Export Manual' and if that is not enough,
ask a specific question at r-help@r-project.org. It would also be
possible to dump the data from S-PLUS and read the dump in R: again, see
the R manual.
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
|