John Kane wrote:
> Have a look at the Hmisc package:sas.get or
> sasxport.get.  In either case you need to have a
> working SAS installation on the same machine. 
> 
> Another way, although you lose label is simply to
> export the SAS data file as a csv or delim file and
> import it.

I'm also looking into running the SAS Viewer under wine on linux to read 
non-transport SAS files in a new Hmisc function.  But so far there is a 
problem - SAS in all its wisdom doesn't quote character string output 
when creating csv files with the Viewer, so you can't have commas in 
your character strings.  There is a tab delimiter option as long as you 
don't have tabs in the strings.  Amazing that SAS couldn't do better 
than that.

Frank

> 
> 
> --- AbouEl-Makarim Aboueissa
> <[EMAIL PROTECTED]> wrote:
> 
>> Dear ALL:
>>
>> Could you please let me know how to read SAS data
>> file into R.
>>
>> Thank you so much for your helps.
>>
>> Regards;
>>
>> Abou
>>
>>
>> ==========================
>> AbouEl-Makarim Aboueissa, Ph.D.
>> Assistant Professor of Statistics
>> Department of Mathematics & Statistics
>> University of Southern Maine
>> 96 Falmouth Street
>> P.O. Box 9300
>> Portland, ME 04104-9300
>>
>> Tel: (207) 228-8389
>> Email: [EMAIL PROTECTED]
>>           [EMAIL PROTECTED]
>> Office: 301C Payson Smith
>>
>> ______________________________________________
>> [email protected] 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.
>>
> 
> ______________________________________________
> [email protected] 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.
> 


-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University

______________________________________________
[email protected] 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.

Reply via email to