[R] read SAS dataset using read.ssd()

array chip arrayprofile at yahoo.com
Tue Aug 3 01:13:52 CEST 2010


Looks like the log file is not appropriately attached. Here it is again. Thanks 
for any suggestions.

John



----- Original Message ----
From: array chip <arrayprofile at yahoo.com>
To: r-help at r-project.org
Sent: Mon, August 2, 2010 2:18:32 PM
Subject: [R] read SAS dataset using read.ssd()

Hi, I am using read.ssd() from foreign package to read some SAS datasets. I have 

2 types of SAS datasets, one with "sas7bdat" extension, the other with "ssd01" 
extension. I have no problem with the first dataset type, but got the following 
error message with the 2nd dataset type (with "ssd01" extension):

test<-read.ssd("C:/Documents and Settings/Desktop","test",sascmd="C:/Program 
Files/SAS/SASFoundation/9.2/sas.exe")

SAS failed.  SAS program at C:\DOCUME~1\LOCALS~1\Temp\Rtmp08209e\file65b5504.sas 


The log file will be file65b5504.log in the current directory
Warning message:
In read.ssd("C:/Documents and Settings/Desktop", "test", sascmd = "C:/Program 
Files/SAS/SASFoundation/9.2/sas.exe") :
  SAS return code was 2


Attached please find the log file. Thanks for any suggestions.

John


      
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: file65b5504.log.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100802/5c88885d/attachment.txt>


More information about the R-help mailing list