> -----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=(" "),
Why are you using parentheses in the line above for the var parameter? If you
want all variables, just leave the var parameter out of the call (it defaults
to all variables). But if you want to include it, the function call could be:
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")
Hope this is helpful,
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.