You need to specify the path to SAS, not Sas viewer. From the help page:
sascmd: character string giving full path to SAS executable.
I don't think you have done that.
On Thu, 26 Jun 2008, Leandro Marino wrote:
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,
Atenciosamente,
Leandro Lins Marino
Centro de Avaliação
Fundação CESGRANRIO
Rua Santa Alexandrina, 1011 - 2º andar
Rio de Janeiro, RJ - CEP: 20261-903
( (21) 2103-9600 R.:236
( (21) 8777-7907
* [EMAIL PROTECTED]
"Aquele que suporta o peso da sociedade
é precisamente aquele que obtém
as menores vantagens". (SMITH, Adam)
P Antes de imprimir pense em sua responsabilidade e compromisso com o MEIO
AMBIENTE
______________________________________________
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.
--
Brian D. Ripley, [EMAIL PROTECTED]
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
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.