Displaying 2 results from an estimated 2 matches for "open_xpt_file_with_r".
2018 Apr 14
1
Fwd: Re: Reading xpt files into R
...> On 14 April 2018 at 10:32 peter dalgaard <pdalgd at gmail.com> wrote:
>
> That's what he tried,
Actually not, Peter. Wray was using a function of the same name, but not from pkg-foreign. Perhaps he was following the tutorial at:
http://www.phusewiki.org/wiki/index.php?title=Open_XPT_File_with_R
> 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...
2018 Apr 14
0
Fwd: Re: Reading xpt files into R
-------- Original Message ----------
From: WRAY NICHOLAS <nicholas.wray at ntlworld.com>
To: peter dalgaard <pdalgd at gmail.com>
Date: 14 April 2018 at 20:18
Subject: Re: [R] Reading xpt files into R
Well yesterday I'd downloaded the "foreign" package and tried to open the xpt file using that:
library(foreign)
read.xport("test.xpt")
I got the following