Anna,

My comment about var=("  ")  being the problem is probably wrong.  Apparently R 
and the sas.get function can handle that specification just fine (I have some 
learning to do myself).  I have a question about the error message below.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 23, 2007 8:45 AM
> To: John Kane; Daniel Nordlund; [email protected]
> Subject: Re: [R] importing sas datasets
> 
> Hi John and Daniel,
> 
> Thanks for your suggestions, I updated line 127 of the
> sas.get function  but after submitting the following
> command:
> 
> c<- sas.get(lib="c:\\ghan", mem="mkds0001", var=("   "),
> format.library="d:\\R\\R-2.4.1",
> sasprog='"C:\\Programmi\\SAS\\SAS 9.1\\sas.exe"') (also
> trying with sasprog="C:\\Programmi\\SAS\\SAS 9.1\\sas.exe")
> 
> the log signaled the following error:
> 
> Errore in system(paste(shQuote(sasprog), shQuote(sasin),
> "-log", shQuote(log.file)),  :
>         unused argument(s) (output = FALSE)

The error says there are unused arguments in the system function call.  So 
that's where I would focus to try to solve this problem.  However, I can't 
replicate the problem on my Windows XP Pro system.  So at this point I can't be 
of much help.  

Sorry I can't be more helpful at this time,

Dan 

Daniel Nordlund
Bothell, WA USA

______________________________________________
[email protected] 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.

Reply via email to