Re: [R] Read sas7bdat

From: Peter Dalgaard <>
Date: Thu, 26 Jun 2008 23:24:01 +0200

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
~~~~~~~~~~ - (              FAX: (+45) 35327907

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 26 Jun 2008 - 21:28:09 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 - 21:31:57 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive