Reading S-plus data in R
Hi William, Thank you so much for your reply. However, I still got error message:
data.dump(oldStyle=TRUE)
Error: could not find function "data.dump"
data.restore("C:/Users/FTSI/Desktop/2 ICGPA/1ACTIVITY.sdd")
Error: could not find function "data.restore" Thank you.
On Sun, Feb 26, 2017 at 12:42 AM, William Dunlap <wdunlap at tibco.com> wrote:
The sdd file extension may mean that the file is in S+ 'data dump' format, made by S+'s data.dump function and readable in S+ by its data.restore function. foreign::data.restore can read some such files in R, but I think it may only read well those with using the pre-1991 format made in more recent versions of S+ with data.dump(old.style=TRUE). Bill Dunlap TIBCO Software wdunlap tibco.com On Fri, Feb 24, 2017 at 8:58 PM, roslinazairimah zakaria <roslinaump at gmail.com> wrote:
Dear r-users,
I would like to read S-Plus data (.ssd) into R. I tried this:
library(foreign)
read.S("C:/Users/FTSI/Desktop/2 ICGPA/1ACTIVITY.sdd")
and got this message:
read.S("C:/Users/FTSI/Desktop/2 ICGPA/1ACTIVITY.sdd")
Error in read.S("C:/Users/FTSI/Desktop/2 ICGPA/1ACTIVITY.sdd") :
not an S object
What is wrong with this? Thank you so much for your help.
--
*Roslinazairimah Zakaria*
*Tel: +609-5492370; Fax. No.+609-5492766*
*Email: roslinazairimah at ump.edu.my <roslinazairimah at ump.edu.my>;
roslinaump at gmail.com <roslinaump at gmail.com>*
Faculty of Industrial Sciences & Technology
University Malaysia Pahang
Lebuhraya Tun Razak, 26300 Gambang, Pahang, Malaysia
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/
posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
*Roslinazairimah Zakaria* *Tel: +609-5492370; Fax. No.+609-5492766* *Email: roslinazairimah at ump.edu.my <roslinazairimah at ump.edu.my>; roslinaump at gmail.com <roslinaump at gmail.com>* Faculty of Industrial Sciences & Technology University Malaysia Pahang Lebuhraya Tun Razak, 26300 Gambang, Pahang, Malaysia [[alternative HTML version deleted]]