[R] read.xport

Frank E Harrell Jr f.harrell at vanderbilt.edu
Thu Jul 14 21:05:50 CEST 2005


Nelson, Gary (FWE) wrote:
> I have the latest version of foreign, but it still doesn't work.  I
> quickly tried the Hmisc package, but the same issue arose.  I will delve
> into the Hmisc package further.

This is disappointing as we rely on read.xport quite a bit.

You can use the option with sasxport.get that reads csv files. The help 
file has a URL with a full howto.

Frank

> 
> Thanks.
> -----Original Message-----
> From: Frank E Harrell Jr [mailto:f.harrell at vanderbilt.edu] 
> Sent: Thursday, July 14, 2005 11:46 AM
> To: bogdan romocea
> Cc: Nelson, Gary (FWE); R-help at stat.math.ethz.ch
> Subject: Re: [R] read.xport
> 
> 
> bogdan romocea wrote:
> 
>>How about avoiding SAS XPORT altogether and exporting everything in 
>>the simple, clean, non-proprietary, extremely reliable, 
>>platform-independent ... etc text format (CSV, tab delimited etc)?
> 
> 
> I hope the problem is fixed in the latest version of foreign (no version
> 
> info was given).  In case it's not, you may want to look at the 
> sasxport.get function in the Hmisc package.
> 
> Frank
> 
> 
>>
>>
>>>-----Original Message-----
>>>From: Nelson, Gary (FWE) [mailto:Gary.Nelson at state.ma.us]
>>>Sent: Thursday, July 14, 2005 10:31 AM
>>>To: r-help at stat.math.ethz.ch
>>>Subject: [R] read.xport
>>>
>>>
>>>I am trying to import data from a SAS XPORT file that
>>>contains 24 SAS files.
>>>When I use the "read.xport" procedure only about 16 data 
>>>frames (components)
>>>are created.  Any suggestions?
>>>
>>>
>>>
>>>
>>>
>>>**************************************************************
>>>***********
>>>
>>>Gary A. Nelson, Ph.D
>>>
>>>Massachusetts Division of Marine Fisheries
>>>
>>>30 Emerson Avenue
>>>
>>>Gloucester, MA 01930
>>>
>>>Phone: (978) 282-0308 x114
>>>
>>>Fax: (617) 727-3337
>>>
>>>Email: Gary.Nelson at state.ma.us
>>>
>>>
>>>
>>>
>>>	[[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
>>>
>>
>>
>>______________________________________________
>>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
>>
> 
> 
> 


-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University




More information about the R-help mailing list