That's what he tried, but the bottom line is that just because something is called foo.xpt there is no guarantee that it actually is a SAS XPORT file. Firefox plugins use the same extension but it could really be anything - naming conventions are just that: conventions.
So dig deeper and find out what the file really is (or was supposed to be). -pd > On 14 Apr 2018, at 00:18 , David Winsemius <dwinsem...@comcast.net> wrote: > > There is a read.xport function in the foreign package and I think most people > would have chosen that one as a first attemp. It's part of the standard R > distribution. It refers you to > https://support.sas.com/techsup/technote/ts140.pdf for details on the format. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd....@cbs.dk Priv: pda...@gmail.com ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.