Re: [R] Read SAS data

2010-03-26 Thread Nicola Sturaro Sommacal
On Thu, Mar 25, 2010 at 19:32, Nordlund, Dan (DSHS/RDA) wrote: > > Here is one work-around for sas.get on MS Windows platforms. > > http://finzi.psych.upenn.edu/Rhelp10/2008-December/182573.html Hi and thank you very much! I try solutions #2 and #3 and I found that last one works. Thank you.

Re: [R] Read SAS data

2010-03-25 Thread Mike Reese
o you know anything about that? Mike -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Nordlund, Dan (DSHS/RDA) Sent: Thursday, March 25, 2010 2:32 PM To: Nicola Sturaro Sommacal; r-help@r-project.org Subject: Re: [R] Read SAS data >

Re: [R] Read SAS data

2010-03-25 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Nicola Sturaro Sommacal > Sent: Thursday, March 25, 2010 9:16 AM > To: r-help@r-project.org > Subject: [R] Read SAS data > > Hi! > > I need t

[R] Read SAS data

2010-03-25 Thread Nicola Sturaro Sommacal
Hi! I need to import in R some SAS dataset (sas7bdat). I found two functions to do it: "read.ssd" from the package "foreign" and "sas.get" from "Hmisc". df = read.ssd(libname = path2data, sectionnames = "sasSmallDataset", tmpXport = path2data, tmpProgLoc = path2data, sascmd = path2sas) sas.get(li

Re: [R] read sas data into R

2007-10-10 Thread Wensui Liu
Mary, My feeling is to tell other language read SAS data is like the pain on the A**. Instead, a solution I'd like to use is to use some lightweight DB to do the data transfer. For instance, SAS shouldn't have no problem to libname to a sqlite DB using ODBC and then R is able to easily read sqlite

Re: [R] read sas data into R

2007-10-08 Thread Peter Dalgaard
Mary Royerr wrote: > Hi > > I am having trouble using read.ssd. Can someone help? > > The code that I have written is > > *sashome<-"C:/Mary/Datasets"* > *read.ssd(read.ssd(file.path(sashome, "core", "sashelp"), "surv_1v",* > *sascmd = file.path(sashome, "sas.exe"))* > > Here the path that I have g

[R] read sas data into R

2007-10-08 Thread Mary Royerr
Hi I am having trouble using read.ssd. Can someone help? The code that I have written is *sashome<-"C:/Mary/Datasets"* *read.ssd(read.ssd(file.path(sashome, "core", "sashelp"), "surv_1v",* *sascmd = file.path(sashome, "sas.exe"))* Here the path that I have given is correct, where the dataset su