s-news
[Top] [All Lists]

Re: A very simple question about datasets in S and R

To: David Kaplan <dkaplan@udel.edu>
Subject: Re: A very simple question about datasets in S and R
From: Prof Brian Ripley <ripley@stats.ox.ac.uk>
Date: Sun, 21 Aug 2005 07:38:33 +0100 (BST)
Cc: s-news@lists.biostat.wustl.edu
In-reply-to: <000501c5a5f3$59dd79d0$6502a8c0@IBM03F534730B4>
References: <000501c5a5f3$59dd79d0$6502a8c0@IBM03F534730B4>
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

<Prev in Thread] Current Thread [Next in Thread>