R 3.2.0 OS X Colleagues, In the past, I used a package: SASxport to output files to SAS?s XPT format. This was useful because FDA requests that data be submitted in that format (even though they typically must reconvert to some other format before the data are used). It appears that the package is no longer available at CRAN: Package ?SASxport? was removed from the CRAN repository. Formerly available versions can be obtained from the archive. Archived on 2015-06-09 as errors were not corrected despite reminders. I have a previously-functioning version of the package on my computer. When I attempt to load it with: require("SASxport", lib.loc=?/PATH/TOt/R-Packages") R responds: Loading required package: SASxport Failed with error: ?package ?SASxport? was built before R 3.0.0: please re-install it? Other than reinstalling an old version of R (< 3.0.0), is there some way that I can use the package? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com
Dennis Fisher <fisher <at> plessthan.com> writes:> Colleagues, > > In the past, I used a package: > SASxport > to output files to SAS?s XPT format. This was useful because FDA requeststhat data be submitted in that> format (even though they typically must reconvert to some other formatbefore the data are used).>[snip] Try this? library("devtools") install_version("SASxport","1.5.0") or download the last archived version from https://cran.r-project.org/src/contrib/Archive/SASxport/SASxport_1.5.0.tar.gz and use R CMD INSTALL from the command line or install.packages(<filename>,repos=NULL)
> On Sep 25, 2015, at 9:25 AM, Dennis Fisher <fisher at plessthan.com> wrote: > > R 3.2.0 > OS X > > Colleagues, > > In the past, I used a package: > SASxport > to output files to SAS?s XPT format. This was useful because FDA requests that data be submitted in that format (even though they typically must reconvert to some other format before the data are used). > > It appears that the package is no longer available at CRAN: > Package ?SASxport? was removed from the CRAN repository. > Formerly available versions can be obtained from the archive. > Archived on 2015-06-09 as errors were not corrected despite reminders. > > I have a previously-functioning version of the package on my computer. When I attempt to load it with: > require("SASxport", lib.loc=?/PATH/TOt/R-Packages") > R responds: > Loading required package: SASxport > Failed with error: ?package ?SASxport? was built before R 3.0.0: please re-install it? > > Other than reinstalling an old version of R (< 3.0.0), is there some way that I can use the package? > > Dennis >Dennis, A search would seem to suggest that Greg is no longer supporting the package. Despite the XPORT format being openly documented (as opposed to the SAS7BDAT format), I am not rapidly locating other free resources to *write* xport files, while there are a number of them to *read* xport files. Thus, one commercial (not free) conversion application that is independent of SAS is StatTransfer, which may be worth your investment if you are doing this quite a bit: http://www.stattransfer.com Regards, Marc Schwartz
Obtain the source package and fix it? Most errors are relatively minor adjustments that just require reading the updated "Writing R Extensions" document to figure out. You might be unlucky, but I think the odds are in your favor. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. On September 25, 2015 7:25:33 AM PDT, Dennis Fisher <fisher at plessthan.com> wrote:>R 3.2.0 >OS X > >Colleagues, > >In the past, I used a package: > SASxport >to output files to SAS?s XPT format. This was useful because FDA >requests that data be submitted in that format (even though they >typically must reconvert to some other format before the data are >used). > >It appears that the package is no longer available at CRAN: > Package ?SASxport? was removed from the CRAN repository. > Formerly available versions can be obtained from the archive. > Archived on 2015-06-09 as errors were not corrected despite reminders. > >I have a previously-functioning version of the package on my computer. >When I attempt to load it with: > require("SASxport", lib.loc=?/PATH/TOt/R-Packages") >R responds: > Loading required package: SASxport > Failed with error: ?package ?SASxport? was built before R 3.0.0: >please re-install it? > >Other than reinstalling an old version of R (< 3.0.0), is there some >way that I can use the package? > >Dennis > >Dennis Fisher MD >P < (The "P Less Than" Company) >Phone: 1-866-PLessThan (1-866-753-7784) >Fax: 1-866-PLessThan (1-866-753-7784) >www.PLessThan.com > >______________________________________________ >R-help at 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.
I think it might be even simpler at least for now. The error checking done by CRAN can be more rigorous than that done when an installation is done locally. I don't see a report in the current package checks listing of what error was identified, but experimentation is always an option. When I download the last archived version and install from source I get no error on R 3.2.2 (Mac-SL fork): install.packages('~/Downloads/SASxport_1.5.0.tar.gz', repos = NULL , type="source") Best; David. On Sep 25, 2015, at 8:08 AM, Jeff Newmiller wrote:> Obtain the source package and fix it? Most errors are relatively minor adjustments that just require reading the updated "Writing R Extensions" document to figure out. You might be unlucky, but I think the odds are in your favor. > --------------------------------------------------------------------------- > Jeff Newmiller The ..... ..... Go Live... > DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... > Live: OO#.. Dead: OO#.. Playing > Research Engineer (Solar/Batteries O.O#. #.O#. with > /Software/Embedded Controllers) .OO#. .OO#. rocks...1k > --------------------------------------------------------------------------- > Sent from my phone. Please excuse my brevity. > > On September 25, 2015 7:25:33 AM PDT, Dennis Fisher <fisher at plessthan.com> wrote: >> R 3.2.0 >> OS X >> >> Colleagues, >> >> In the past, I used a package: >> SASxport >> to output files to SAS?s XPT format. This was useful because FDA >> requests that data be submitted in that format (even though they >> typically must reconvert to some other format before the data are >> used). >> >> It appears that the package is no longer available at CRAN: >> Package ?SASxport? was removed from the CRAN repository. >> Formerly available versions can be obtained from the archive. >> Archived on 2015-06-09 as errors were not corrected despite reminders. >> >> I have a previously-functioning version of the package on my computer. >> When I attempt to load it with: >> require("SASxport", lib.loc=?/PATH/TOt/R-Packages") >> R responds: >> Loading required package: SASxport >> Failed with error: ?package ?SASxport? was built before R 3.0.0: >> please re-install it? >> >> Other than reinstalling an old version of R (< 3.0.0), is there some >> way that I can use the package? >> >> Dennis >> >> Dennis Fisher MD >> P < (The "P Less Than" Company) >> Phone: 1-866-PLessThan (1-866-753-7784) >> Fax: 1-866-PLessThan (1-866-753-7784) >> www.PLessThan.com >> >> ______________________________________________ >> R-help at 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. > > ______________________________________________ > R-help at 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.David Winsemius Alameda, CA, USA