Displaying 2 results from an estimated 2 matches for "xprot".
Did you mean:
prot
2018 Apr 14
1
Fwd: Re: Reading xpt files into R
...names.tolower = FALSE, keep = NULL, drop = NULL, as.is = 0.95,
verbose = FALSE, as.list = FALSE, include.formats = FALSE)
When I look at the SASxport::read.xport function code, it is in fact, _not_ the same function. But it does have the R statement about what it thinks qualifies as a SAS xprot file:
xport.file.header <- "HEADER RECORD*******LIBRARY HEADER RECORD!!!!!!!000000000000000000000000000000 "
It checks to see whether the file starts with that string.
This is what appeared in my first message:
>
> The "export" or "transfer format from SA is...
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