Re: [R] Read sas7bdat

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu, 26 Jun 2008 22:10:29 +0100 (BST)

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
> * leandro_at_cesgranrio.org.br
> "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_at_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,                  ripley_at_stats.ox.ac.uk
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_at_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.

Received on Thu 26 Jun 2008 - 21:13:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 26 Jun 2008 - 22:31:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive