> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Leandro Marino > Sent: Thursday, June 26, 2008 12:50 PM > To: r-help@r-project.org > Subject: [R] Read sas7bdat > > Hi, > > I was reading e-mail about one doubt that you were when you read files > .sas7bdat in R. > > Now, I am with the same problem. But I don´t know how can i > do that. I have > download de Sas Viewer and i am using this sintax in r: > > read.ssd("X:\\users\\Anresc07","que0411.sas7bdat") > SAS failed. SAS program at > C:\DOCUME~1\leandro\CONFIG~1\Temp\RtmpXR1Tid\file3d6c4ae1.sas > The log file will be file3d6c4ae1.log in the current directory > NULL > Warning messages: > 1: In system(paste(sascmd, tmpProg)) : "sas" não encontrado > 2: In read.ssd("X:\\users\\Anresc07", "que0411.sas7bdat") : > SAS return code was -1 > > > Do you know what i can do to solve that? > Thanks a lot! > Best regards, > > Do you have SAS available to run on your computer (the SAS viewer is not sufficient for using read.ssd)? If you do, is it in your default path? You should leave off the .sas7bdat extension when you specify the SAS data set name. Make sure you carefully read the help (?read.ssd).
Hope this is helpful, Dan Daniel J. Nordlund Washington State Department of Social and Health Services Planning, Performance, and Accountability Research and Data Analysis Division Olympia, WA 98504-5204 ______________________________________________ R-help@r-project.org 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.