[Rd] Problem with read.xport() from foreigh package (PR#7389)

ruskin at iba.com.hk ruskin at iba.com.hk
Tue Nov 23 11:27:21 CET 2004

Full_Name: Ruskin Chow
Version: R 2.0.1
OS: Windows 2000
Submission from: (NULL) (

Data imported from SAS using read.xport() in package foreign are converted to
<NA> when the SAS data field consists of character strings that are only one
character long.

This is apparently a previously reported bug and perhaps fixed in some platform
other than Windows (rw2001).Some discussion of the bug can be found from the
following website:


I've downloaded the latest foreign package (foreign_0.8-1.zip) from CRAN but it
doesn't seem to work.

Thanks in advance for throwing light if I missed something here.

More information about the R-devel mailing list