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@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.