Skip to content
Prev 309301 / 398506 Next

Opening SAS file using read.sas7bdat() function in sas7bdat library.

Dear all,

Thank you for the response and.. thanks Marc.
It works with the source file which Matt has at
https://github.com/BioStatMatt/sas7bdat/blob/master/R/sas7bdat.R
which is also attached.

Cheers,

Praveen.

-----Original Message-----
From: Marc Schwartz [mailto:marc_schwartz at me.com] 
Sent: 29 October 2012 19:14
To: Duncan Murdoch
Cc: Praveen Surendran; r-help at r-project.org
Subject: Re: [R] Opening SAS file using read.sas7bdat() function in sas7bdat
library.

On Oct 29, 2012, at 2:04 PM, Duncan Murdoch <murdoch.duncan at gmail.com>
wrote:
wrote:
:
bit, rather than 32 bit:
against a known list, containing
it.   But nothing else in the code appears to depend on the host, so it's a
good guess that adding another host string to that list (or changing the
error to a warning) will make it work properly.
As per that prior thread, Matt has added those to the source on GitHub:

  https://github.com/BioStatMatt/sas7bdat/blob/master/R/sas7bdat.R

at line 86:

# Host systems known to work
KNOWNHOST <- c("WIN_PRO", "WIN_NT", "WIN_NTSV", "WIN_SRV",
               "WIN_ASRV", "XP_PRO", "XP_HOME", "NET_ASRV",
               "NET_DSRV", "NET_SRV", "WIN_98", "W32_VSPR",
               "WIN", "WIN_95", "X64_VSPR", "X64_ESRV",
               "W32_ESRV", "W32_7PRO", "W32_VSHO", "X64_7HOM",
               "X64_7PRO", "X64_SRV0")


It's presumably just a matter of Matt releasing an updated version of the
package. There were some comments in that prior thread of communication
issues with Matt, so not sure what is going on there relative to time frame.

Regards,

Marc