Re: [R] Concerning reading of SAS-files

From: bogdan romocea <br44114_at_gmail.com>
Date: Fri 12 Aug 2005 - 23:12:15 EST


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@Codan.dk]
> Sent: Friday, August 12, 2005 4:52 AM
> To: r-help@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@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
>



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 Fri Aug 12 23:19:27 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:47 EST