[R] Read sas7bdat

Peter Dalgaard p.dalgaard at biostat.ku.dk
Thu Jun 26 23:24:01 CEST 2008


Prof Brian Ripley wrote:
> 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.
>
Or, put differently, it is not going to work unless you have SAS itself, 
not just the viewer. You can however read the dataset into the viewer 
and save it as, e.g., a csv file which R can read using read.csv.

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907



More information about the R-help mailing list