Re: [R] Cannot read XPT file using foreign package

2013-10-04 Thread Daniel Nordlund
Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Dennis Fisher > Sent: Friday, October 04, 2013 5:01 PM > To: Duncan Murdoch; r-h...@stat.math.ethz.ch > Subject: Re: [R] Cannot read XPT file using foreign package > > Dunca

Re: [R] Cannot read XPT file using foreign package

2013-10-04 Thread Dennis Fisher
Duncan I looked at support.sas.com/techsup/technote/ts140.pdf and it is a bit difficult to decipher. I then replaced the string "^@" in the file contents with "!". There is some concordance with he sample text shown in support.sas.com/techsup/technote/ts140.pdf but I don't know exactl

[R] Cannot read XPT file using foreign package

2013-10-04 Thread Dennis Fisher
OS X 10.8 R 3.0.1 foreign 0.8-55 (2013-09-02) Colleagues, I received a SAS XPT file that I cannot read using the foreign package. The command: read.xport(FILENAME) results in the following message: Error in lookup.xport(file) : file not in SAS transfer format I am able to read th