Re: [R] SAS Data

2008-10-13 Thread Shubha Vishwanath Karanth
library(foreign) Rdata=read.ssd("Z:/MyFolder","data1",sascmd = "C:/Program Files/SAS/SAS 9.1/sas.exe") Rdata Y D1 D2 D3 1 100 1 0 0 2 101 1 0 0 3 105 1 0 0 4 200 0 1 0 5 201 0 1 0 6 205 0 1 0 7 300 0 0 1 8 301 0 0 1 9 305 0 0 1 where 'data1' is the SAS datafile to

Re: [R] SAS Data

2008-10-13 Thread Peter Dalgaard
Stefo Ratino wrote: > Hello everybody, > > I would like to read a SAS Data data1.sas7bdat in R! Is this possible? > Only if you have access to SAS. The file format is proprietary and noone has bothered to decipher it. > Thank you a lot in advance ;), > Stefo > >

Re: [R] SAS data

2008-03-16 Thread Daniel Nordlund
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Samuel Okoye > Sent: Friday, March 14, 2008 8:21 AM > To: [EMAIL PROTECTED] > Subject: [R] SAS data > > Hello, > > I am trying to read the SAS file MyData.sa7bdat in R! This file is saved > under >

Re: [R] SAS data

2008-03-14 Thread Lawrence Hanser
Looks to me like you are trying to read sas.exe as your data rather than MyData.sa7bdat Larry On Fri, Mar 14, 2008 at 8:21 AM, Samuel Okoye <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to read the SAS file MyData.sa7bdat in R! This file is saved > under D:\data! I therefore wrote >