Displaying 20 results from an estimated 5000 matches similar to: "Enhancement request: lookup.xport() in library foreign"
2002 Dec 21
2
Part II Re: read.ssd {foreign} (Reading a permanent SAS d ataset into an R data frame)
>>>>> "Stephen" == Stephen Arthur <sarthur67 at yahoo.com> writes:
Stephen> The SAS data set I PROC CPORTed is [9] the result is [10].
Stephen> I PROC CIMPORTed [10] back to its orginal state [9], and it
Stephen> worked.
Stephen> So the SAS people think that the error is not with the SAS
Stephen> XPORT file, but with R trying to load a text
1999 Dec 11
2
SAS XPORT Transport Format
A colleague pointed out that the United States Food and Drug
Administration (FDA) has adopted a transport format defined by SAS
Institute as a standard for electronic submissions of data. As a
result, this format has been openly documented.
The URL for the documentation on the format is
http://ftp.sas.com/techsup/download/technote/ts140.html
Information on the FDA standards for
2018 Apr 13
0
Reading xpt files into R
> On Apr 13, 2018, at 10:01 AM, WRAY NICHOLAS via R-help <r-help at r-project.org> wrote:
>
> 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
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
2002 Apr 26
1
Problem with read.xport() from foreign package
I have found that data imported from SAS using read.xport() in
package foreign (installed recently) does not match the original
data, when the data consists of character strings that are only one
character long.
Here is an example.
---- SAS commands to create the data ----
options nocenter;
data foo;
a='a';
b='bb';
length c d $2;
c='c';
d='
2018 Apr 14
1
Fwd: Re: Reading xpt files into R
> On Apr 14, 2018, at 12:18 PM, WRAY NICHOLAS via R-help <r-help at r-project.org> wrote:
>
>
> -------- 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
2002 Dec 20
1
read.xport and lookup.xport in foreign (PR#2385)
Under
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 6.1
year 2002
month 11
day 01
language R
and using foreign 0.5-8 I am encountering errors when using read.xport. Here's
2004 Mar 26
1
lookup.xport in foreign ignoring some datasets (PR#6701)
The Details.
In the following version.
> version
_
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386, linux-gnu
status
major 1
minor 8.1
year 2003
month 11
day 21
language R
>
lookup.xport ignores some datasets in sas export file.
File "emptySasData3.xpt"
(available at http://biostat.mc.vanderbilt.edu/tmp/emptySasData3.xpt)
is a
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")
2005 Apr 07
1
Importing SAS transport data
I have encountered a problem reading SAS transport files on both a Mac
(OS X) and Linux (RedHat 9), both using R2.0.1.
After loading "foreign", the command:
read.xport("V1622101_050304.xpt")
yields:
Error in lookup.xport(file) : File not in SAS transfer format
In Linux, I can "cat" the file. The first few lines are:
**COMPRESSED** **COMPRESSED** **COMPRESSED**
2008 Feb 25
1
Read.xport function in package foreign
Hi All,
Sorry that I didn't provide enough information.
I've been trying to import SAS xport files that contain multiple files
using package foreign's read.xport. I first attempted this back in 2005
and had problems. Some of files that were present in the SAS xport file
weren't being created in R. I submitted my problem to the community:
2013 May 01
1
foreign: write.xport
I see in the archives significant discussion about SAS, CDISC formats etc.
for FDA, but no direct suggestion of adding a write.xport method to the
foreign package. Are there significant barriers to doing so?
[[alternative HTML version deleted]]
2001 May 05
1
read.xport bug of foreign pkg (PR#933)
Full_Name: Jorge A. Tomasevic
Version: 1.2.2
OS: Win98
Submission from: (NULL) (146.83.23.177)
As i'm not an "R-expert-user", i will describe what i do:
i) open Rgui.exe
ii) ivoke foreign library : >library(foreign)
iii) i try to read an .xpt file (from Systat 9): >datos <-
read.xport('ipoisson.xpt')
iv) then the program crashes. Norton CrashGuard alerts the
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
2007 Jan 24
0
Importing XPORT datasets into R
Hi,
I'm experiencing a strange issue while attempting to import some XPORT formatted datasets created using SAS 9.3. I 'm using R 2.2.1 with a recently downloaded version of the "foreign" package, although I don't have the version for that handy.
I have been able to load some of the XPORT datasets, however when I increase to the entire dataset, I get the following error:
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
2006 Sep 26
0
read.xport: Writing and reading dataframe to disk directly
Hi All, is there a way of directly writing to disk file, the dataframe or list
of dataframes that result from read.xport function. This function converts SAS
export files to R dataframes. I would like to convert a SAS transport file to R,
but the resulting R dataframes do not fit in the memory of my computer. Is there
way to write the output of this fucntion to disk, perhaps using some pipe or
2005 Jul 14
3
read.xport
I am trying to import data from a SAS XPORT file that contains 24 SAS files.
When I use the "read.xport" procedure only about 16 data frames (components)
are created. Any suggestions?
*************************************************************************
Gary A. Nelson, Ph.D
Massachusetts Division of Marine Fisheries
30 Emerson Avenue
Gloucester, MA 01930
Phone: (978)
2008 Feb 21
0
SAS transport files and read.xport
Hi All,
In 2005, I noted that when I used read.xport function in the foreign
package to import a SAS transport file (.xpt) with multiple files
imbedded in it, data frames from some of the files were not created.
Since then, I discovered that the information from the missing files is
being read into one dataframe, but the data appear corrupted. This has
been noted before by Dr. Harrell (in
2002 Nov 13
0
problems with read.ssd in foreign
I'm trying to read in a sas system file (.sas7bdat) created
under SAS 8.2 using read.ssd as follows:
> library(foreign)
> libname <- "c:/sasuser/consult/"
> sascmd <- "c:/Program\ Files/SAS\ Institute/SAS/V8/sas.exe"
> subset <- read.ssd(libname, "subset", sascmd=sascmd)
SAS failed. SAS program at c:\windows\TEMP\Rtmp6673\file24544.sas
a