[R] Resurrecting old Splus objects
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Feb 16 08:30:56 CET 2012
Try read.S in package foreign. It was written back in the days of that
S-PLUS format.
On 16/02/2012 06:06, Patrick Connolly wrote:
> I have a small file of the type that S-PLUS produced and stored in
> .Data/ directories back in the days before we used R. I'm fairly sure
> it would become a dataframe if read into Ver 3.4 of that august
> predecessor to what we use now. (It was Solaris in case that makes
> any difference.)
It does, because Solaris then would AFAIR have been on Sparc and
big-endian. But read.S should handle big-endian.
> AFAIK, the format that S-PLUS uses changed after that, so a current
> version would find it unreadable.
I believe more recent S-PLUS would be able to read it, too.
> If that is the case, I could be
> searching for an S-language enthusiast/historian who has access to a
> suitable version.
>
> If you, gentle reader, or someone you know is such a person, I would
> appreciate it if you could use something like write.table to produce a
> text file such as a CSV or tab-delimitted.
>
> If you are willing and able, or even better, if there's an easier way,
> I'd be very interested to know about it.
>
> TIA
>
--
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
mailing list