Re: [R] Importing SAS datasets into R efficiently

2018-10-19 Thread Kevin Thorpe
: kevin.tho...@utoronto.ca  Tel: 416.864.5776  Fax: 416.864.3016 From: Kevin Thorpe Sent: Friday, October 19, 2018 12:30 PM To: Bert Gunter; Marc Schwartz Subject: Re: [R] Importing SAS datasets into R efficiently   Related to Marc's suggestion, if you have SAS on the same computer as R, try

Re: [R] Importing SAS datasets into R efficiently

2018-10-19 Thread Marc Schwartz via R-help
Hi, 'foreign' will only read SAS XPT files, not the proprietary BDAT files, which I presume is the case here. I don't use 'haven', but it looks like the key functions are written in C/C++, which should be relatively efficient. If you are having specific issues with particular files, because

Re: [R] Importing SAS datasets into R efficiently

2018-10-19 Thread Bert Gunter
Have you looked at the "foreign" package? -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Fri, Oct 19, 2018 at 6:48 AM Jomy Jose wrote: > Hi > > Is