Hi Dan, thanks for the help, I'll try to resolve the sas.get problem in a second moment , actually I bypassed the problem creating a .csv file from my dataset and then using the read.csv function to import it into R. The only problem is that R imports only a 1000 observations, is that normal? Or did I have to specify an option?
thanks and have a nice day Anna ----- Original Message ----- Da : "Daniel Nordlund" <[EMAIL PROTECTED]> A : <[EMAIL PROTECTED]>, <r-help@stat.math.ethz.ch> Oggetto : RE: [R] importing sas datasets Data : Mon, 23 Apr 2007 13:09:47 -0700 > 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; > > r-help@stat.math.ethz.ch 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 > ______________________________________________ R-help@stat.math.ethz.ch 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.