[R] Import problem with S-Plus 7.0 dataset
ripley at stats.ox.ac.uk
Fri Nov 3 19:09:23 CET 2006
'read.S' can read the binary files produced in most recent
versions of S-PLUS on either Windows (versions 3.x, 4.x, 2000) or
Unix (version 3.x with 4 byte integers). It automatically detects
whether the file was produced on a big- or little-endian machine
and adapts itself accordingly.
'data.restore' can read a similar range of files produced by
'data.dump', for newer versions of S-PLUS, those from
Note: not S-PLUS 7.0. You need to dump with 'data.dump(.....,
oldStyle=TRUE)' to have a chance of reading it.
On Fri, 3 Nov 2006, Inman, Brant A. M.D. wrote:
> I am running R 2.3.1 on a Windows XP machine. I am trying to import
> some data into R that is stored as an S-Plus 7.0 .sdd file.
> When I run the following command, I get this error:
>> d <- read.S(file='H:\\Research\\data.sdd')
> Error in read.S(file = "H:\\Research\\data.sdd") :
> not an S object
> The dataset is fairly large, roughly 13000 rows and 100 columns, but
> within S-Plus 7.0 it is stored as a normal dataframe (not a bd
> Any ideas?
> Brant Inman
> [[alternative HTML version deleted]]
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Brian D. Ripley, ripley at 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
More information about the R-help