[R] read.ssd() from foreign package

From: array chip <arrayprofile_at_yahoo.com>
Date: Sun, 06 Mar 2011 00:34:20 -0800 (PST)


Hi, I am encountering a confusing problem when I tried to use read.ssd to read SAS datasets. For one SAS dataset "a.sas7bdat", it did not work; while for another SAS dataset "b.sas7bdat" it worked:

> tmp<-read.ssd("C:\\SASdata", "a",sascmd="C:/Program
>Files/SAS/SASFoundation/9.2/sas.exe")


SAS failed. SAS program at
C:\DOCUME~1\yiz01\LOCALS~1\Temp\RtmpVjJa6m\file12384509.sas

The log file will be file12384509.log in the current directory Warning message:
In read.ssd("C:\\SASdata", "a", sascmd = "C:/Program Files/SAS/SASFoundation/9.2/sas.exe") :

  SAS return code was 1

> tmp<-read.ssd("C:\\SASdata", "b",sascmd="C:/Program
>Files/SAS/SASFoundation/9.2/sas.exe")

The attached log files are also attached. File "file12384509.log" is for dataset "a.sas7bdat" that does not work; while file "file1ad46e5d.log" is for dataset "b.sas7bdat" that does work.

Can anyone suggest why one worked, the other did not?

Thanks

John       



R-help_at_r-project.org mailing list
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. Received on Sun 06 Mar 2011 - 08:40:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 06 Mar 2011 - 10:50:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive