Re: [R] SAS data

From: Lawrence Hanser <larry_at_hanser.net>
Date: Fri, 14 Mar 2008 10:32:55 -0700

Looks to me like you are trying to read sas.exe as your data rather than MyData.sa7bdat....

Larry

On Fri, Mar 14, 2008 at 8:21 AM, Samuel Okoye <samuoko_at_yahoo.com> wrote:
> Hello,
>
> I am trying to read the SAS file MyData.sa7bdat in R! This file is saved under D:\data! I therefore wrote
>
> > path <-"D:/SasData"
> > sashome <- "C/Progra, Files/SAS Institute/9_1/SAS"
> > sascmd <- file.path(sashome, "sas.exe")
> > MyData <- read.ssd(path, "MyData", sascmd=sascmd)
>
> The results what I get:
>
> SAS failed. SAS program at C:\DOCUME~1\Temp\RtmpcTlKtb\file4eb43288.sas
> The log file will be file4eb43288.log in the current directory
> NULL
> Warning message:
> SAS return code was 2 in: read.ssd(path, "MyData", sascmd = sascmd)
>
> Thank you in advance!
> Sam
>
>
> ---------------------------------
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>



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 Fri 14 Mar 2008 - 17:39:52 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 Fri 14 Mar 2008 - 18:30:22 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