[R] Concerning reading of SAS-files

bogdan romocea br44114 at gmail.com
Fri Aug 12 15:12:15 CEST 2005


The first one is an index, not a data set. Anyway, just use SAS to
export the data sets in text format (CSV, tab-delimited etc). You can
then easily read those in R. (By the way, the help for read.xport says
that 'The file must be in SAS XPORT format.' Is .sas7bdat an XPORT
file? Hint: no.)


> -----Original Message-----
> From: Fredrik Thuring [mailto:frt at Codan.dk] 
> Sent: Friday, August 12, 2005 4:52 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Concerning reading of SAS-files
> 
> 
> 
> Hi!
> 
> I'm trying to start a credibility estimation study with a 
> coule of data 
> sets that are created for SAS. The data sets are saved as 
> ".sas7bndx" and 
> ".sas7bdat".
> I've tried reading them to R with the function 'read.xport' but this 
> returns the error message 'Error in lookup.xport(file) : 
> unable to open 
> file'.
> Are there any other functions that one could use instead?
> 
> Thanks a lot to who ever can solve my problem!
> 
> Fredrik Thuring
> Codan Insurance, Copenhagen
> 
> Best regards
> Fredrik Thuring
> 
> 
> --------------------------------------------------------------
> ----------------
> This e-mail and any attachment may be confidential and may 
> also be privileged.
> If you are not the intended recipient, please notify us 
> immediately and then
> delete this e-mail and any attachment without retaining 
> copies or disclosing
> the contents thereof to any other person.
> Thank you.
> --------------------------------------------------------------
> ----------------
> 	[[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
>




More information about the R-help mailing list