Re: [R] Help with sas.get

From: Frank E Harrell Jr <f.harrell_at_vanderbilt.edu>
Date: Wed 03 Aug 2005 - 07:00:13 EST

Wensui Liu wrote:

> Jorge,
> 
> My understanding about sas.get is that it actually runs SAS in the
> backend, output the SAS data, and then import it into R again.

He has SAS running locally.
>
> It might be better to convert SAS to csv format and read it into R.

For that, the Hmisc package's sasxport.get(..., method='csv'...) can help.

Frank

> 
> On 8/2/05, Jorge Sirgo <JSirgo@navigantconsulting.com> wrote:
> 

>>I am running R 2.0.1 on Windows trying to import a SAS dataset into R
>>using sas.get.
>>
>>It is a small SAS dataset, but when I write the command, the SAS window
>>opens but never appears to complete. Am I doing something wrong?
>>
>>Here is an example of my command:
>>
>>temp <- sas.get("J:/blah","name")
>>
>>Jorge
>> [[alternative HTML version deleted]]
>>
>>______________________________________________
>>R-help@stat.math.ethz.ch mailing list
>>https://stat.ethz.ch/mailman/listinfo/r-help
>>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>>
> 
> 
> 


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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Aug 03 07:12:12 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:02:01 EST