Hi all,

I have a large (approx. 1 GB) SAS dataset (test.sas7bdat) located in the
server (“R:/” directory). I have SAS 9.1 installed in my PC and I can read
the SAS dataset in SAS, under a windows environment, after assigning libname
in "R:\" directory.



Now I am trying to read the SAS dataset in R (R 2.12.0) using the read.ssd
function of the “foreign” package, but I get an error message “SAS failed”.
I believe I have specified the paths correctly (after reading some previous
posts I made sure that I do it right). Below is the small code:



sashome<- "C:/Program Files/SAS/SAS 9.1"

read.ssd(libname="R:/", sectionnames="test", sascmd=file.path(sashome,
"sas.exe"))



Please let me know where I am making the mistake. Is it because of the size
of the file or the location of the file (in server instead of local hard
drive)?



Thanks in advance,

Santanu


-- 
--------------------------------------------------------------------
Santanu Pramanik
Survey Statistician
NORC at the University of Chicago
Bethesda, MD

	[[alternative HTML version deleted]]

