Skip to content
Back to formatted view

Raw Message

Message-ID: <42EFDEDD.2030905@vanderbilt.edu>
Date: 2005-08-02T21:00:13Z
From: Frank E Harrell Jr
Subject: Help with sas.get
In-Reply-To: <1115a2b0050802133258d0e707@mail.gmail.com>

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 at 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 at 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