search for: sasxport

Displaying 20 results from an estimated 44 matches for "sasxport".

2009 Feb 03
2
Numeric class and sasxport.get
Dear R-users, The sasxport.get function (from the Hmisc package) automatically defines the class of imported variables. I have noticed that the class of theoretically numeric variables is simply "labelled", although character variables might end up been defined as "labelled" "Date" or "l...
2013 Apr 11
4
Understanding contents of packages
Colleagues During the transition to R3.0.0 (OS X), one of the packages that I used -- SASxport -- did not work until I used the "type=source" option in install.packages. This led to an adventure: 1. I downloaded the package source: SASxport_1.2.4.tar.gz 2. in the SASxport/R folder, I found all the functions that are part of the package. I became interested in whether I cou...
2007 Nov 01
0
SASxport v. 1.2.0
SASxport Version 1.2.0 is now available --------------------------------------- The SASxport package provides R with full support for reading and writing SAS xport format files. Version 1.2.0 corrects a critical issues with storage of negative numbers, as well as adding additional improvements to the hand...
2007 Nov 09
0
SASxport v. 1.2.2
SASxport Version 1.2.2 is now available --------------------------------------- The SASxport package provides R with full support for reading and writing SAS xport format files. Version 1.2.2 corrects problems on 64 bit versions of R. SASxport 1.2.2 is available _now_ at http://random-technologies-llc....
2007 Nov 01
0
SASxport v. 1.2.0
SASxport Version 1.2.0 is now available --------------------------------------- The SASxport package provides R with full support for reading and writing SAS xport format files. Version 1.2.0 corrects a critical issues with storage of negative numbers, as well as adding additional improvements to the hand...
2013 Jun 20
0
Trouble with SASxport in R.3.0. under 32-bit and 64-bit Windows (both 7 and Vista)
Dear Rxperts,.. I am using R 3.0 in both 32- and 64-bit Windows 7 environment and have trouble using SASxport. They seem to work fine under R.2.15.3. ....The error/warning messages are provided below... Following are the messages obtained when trying to read s SAS transport file (.xpt) library(SASxport) Warning message: package ‘SASxport’ was built under R version 3.0.1 read.xport(fname) Error in `lab...
2010 Dec 28
4
Reading sas7bdat files into R
Hi All, I am trying to import a .sas7bdat file into R. I tried using Hmisc package's sasxport.get() function. temp <- sasxport.get("path\abcd.sas7bdat") I get an error that says "Error in lookup.xport(file) : file not in SAS transfer format" I am not familiar with SAS transfer format. Could somebody please clarify what is it that I am missing, Thanks for your tim...
2008 Nov 10
1
problem of unix package installation, following code no response: install.packages("packagename", dependecise=TRUE)
Dear list I am trying installing a package under unix, the command as below works in some case but not some other cases, the primary syndrome is R will stop there with a message: (say I am trying to install the package SASxport) ########################### Warning in install.packages("SASxport", dependencies = TRUE) : argument 'lib' is missing: using '/usr/home/d/068/wangyong/R/x86_64-unknown-linux-gnu-library/2.7' Warning: unable to access index for repository http://lib.stat.cmu.edu/R/CRAN/s...
2018 Apr 14
1
Fwd: Re: Reading xpt files into R
...S data distribution. He seemed to think I was confused about the function you had been using. The reason I mentioned that `read.xport` was from the 'foreign' package is that one generally loads that package to make the function available, while it appears you were using a different package, SASxport, and I didn't know whether that package had a function which had the same name as the one from pkg-foreign, and if it did whether it might depend on the read.xport function in foreign. You should not need to download the 'foreign' package, since it ships with every distribution of R. Th...
2010 Dec 06
3
How to this SAS transport file in R?
Dear All, I try to read the SAS transport file in R, but it shows error. Please help! I am using R 2.11.1 library(foreign) download.file("http://isites.harvard.edu/fs/docs/icb.topic35387.files/demo_c.xpt","C:/Desktop/demo_c.xpt") sasxport <- read.xport("C:/Desktop/demo_c.xpt") Error in lookup.xport(file) : file not in SAS transfer format -- View this message in context: http://r.789695.n4.nabble.com/How-to-this-SAS-transport-file-in-R-tp3073969p3073969.html Sent from the R help mailing list archive at Nabble.com.
2018 Apr 13
5
Reading xpt files into R
Hello R folk I have an xpt file which I have been trying to open into R in R studio On the net I found guidance which says that I need packages Hmisc and SASxport which I have successfully loaded. I had also found some code which says that this would allow me to read the xpt file into R: library(SASxport) data(Alfalfa) lookup.xport("test.xpt") Alfalfa<-read.xport("test.xpt") I have set the directory correctly as far as I am aware, b...
2013 Jan 02
3
suggestions about import SAS results to R.
Hello all, I have got some data in SAS, and I export it to one excel workbook with multiple sheets, for example, each sheet has the sales information for each state. Then I need to use R to do plotting, analysis on those sales data, where I need to load the data from excel to R. When I read the article at this link: http://yihui.name/en/2009/09/how-to-import-ms-excel-data-into-r/ I am
2004 Jun 04
0
New versions of Hmisc and Design on CRAN
...e at http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/ChangelogHmisc and http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/ChangelogDesign . These versions pass R CMD check for the latest R-devel so I expect they will work on the next production release of R. Of special note is the Hmisc sasxport.get function's new method='csv' argument. This works with a SAS macro to use SAS PROC EXPORT to export an entire data library, and handles variable and value labels, date, time, data/time variables [for dates, the new R Date class is now used as is also now used for sas.get, spss.g...
2004 Jun 04
0
New versions of Hmisc and Design on CRAN
...e at http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/ChangelogHmisc and http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/ChangelogDesign . These versions pass R CMD check for the latest R-devel so I expect they will work on the next production release of R. Of special note is the Hmisc sasxport.get function's new method='csv' argument. This works with a SAS macro to use SAS PROC EXPORT to export an entire data library, and handles variable and value labels, date, time, data/time variables [for dates, the new R Date class is now used as is also now used for sas.get, spss.g...
2001 Dec 03
0
Segfault in foreign:read.xport (PR#1192)
I get a segfault when trying to read a SAS transport file with rather long rows using read.xport from package foreign (version 0.4-7). The culprit seems to be these lines in xport_read in SASxport.c: 590 } else { 591 c = strchr(tmpchar, ' '); 592 *c = '\0'; 593 SET_STRING_ELT(VECTOR_ELT(data, k), j, 594 (c == tmpchar) ? R_Blan...
2013 Mar 26
2
suggestions about import SAS Transport files to R.
Dear Rxperts! My colleagues used SAS PROC COPY to generate the xpt files that could be read by the available "xpt" file reading packages in R. However, I am unable to use the R packages for reading SAS transport files generated through SAS PROC CPORT. I have tried SASxport, Hmisc, and foreign. Any ideas/suggestions are more than welcome! Thanks so much! Santosh [[alternative HTML version deleted]]
2011 Feb 17
2
convert the sas file into csv in R
i am trying to convert sas file into csv. I used write.csv(a, file="cool.csv") but nothing come out. i don't know why. Thanks. library(Hmisc) a<- sasxport.get("C:\\Users\.....") write.csv(a, file="cool.csv") -- View this message in context: http://r.789695.n4.nabble.com/convert-the-sas-file-into-csv-in-R-tp3311769p3311769.html Sent from the R help mailing list archive at Nabble.com.
2004 Nov 23
3
Problem with read.xport() from foreigh package (PR#7389)
Full_Name: Ruskin Chow Version: R 2.0.1 OS: Windows 2000 Submission from: (NULL) (203.169.154.66) Data imported from SAS using read.xport() in package foreign are converted to <NA> when the SAS data field consists of character strings that are only one character long. This is apparently a previously reported bug and perhaps fixed in some platform other than Windows (rw2001).Some
2008 Oct 09
1
Error when reading a SAS transport file
Dear All, I get the following error when using either SASxport or Hmisc to read an .xpt file: > w <- read.xport("D:/consult/Trophos/dnp/base/TRO_ds_20081006.xpt") Erreur dans factor(x, f$value, f$label) : invalid labels; length 15 should be 1 or 14 > z<- sasxport.get("D:/consult/Trophos/dnp/base/TRO_ds_20081006.xpt") Erreur...
2003 May 08
1
problems compiling R on AIX5.1
...swap.h... no checking size of double... 8 checking size of int... 4 checking size of long... 4 updating cache ./config.cache creating ./config.status creating src/var.h creating src/swap_bytes.h ** libs xlc -I/scratch_tmp/harald/R-1.6.1/include -I/usr/local/include -O2 -qmaxmem=8192 -c SASxport.c -o SASxport.o "foreign.h", line 51.13: 1506-334 (S) Identifier int32 has already been defined on line 633 of "/usr/include/sys/inttypes.h". "foreign.h", line 52.15: 1506-334 (S) Identifier int16 has already been defined on line 632 of "/usr/include/sys/inttypes....