search for: cntlout

Displaying 3 results from an estimated 3 matches for "cntlout".

Did you mean: cnt_out
2002 Dec 20
1
read.xport and lookup.xport in foreign (PR#2385)
...and using foreign 0.5-8 I am encountering errors when using read.xport. Here's code for producing SAS transport files for testing: libname x SASV5XPT "test.xpt"; libname y SASV5XPT "test2.xpt"; PROC FORMAT; VALUE race 1=green 2=blue 3=purple; RUN; PROC FORMAT CNTLOUT=format;RUN; data test; LENGTH race 3 age 4; age=30; label age="Age at Beginning of Study"; race=2; d1='3mar2002'd ; dt1='3mar2002 9:31:02'dt; t1='11:13:45't; output; age=31; race=4; d1='3jun2002'd ; dt1='3jun2002 9:42:07'dt; t1='11:14:13't;...
2009 Jan 31
1
sas.get under Linux
Dear all, I am trying to import a SAS file into R (in fact I only need the value labels from the formats file), using Hmisc package, but I get this error: my.sas <- sas.get("/home/adi/3", "fis1_sgg") sh: sas: not found Error in sas.get("/home/adi/3", "fis1_sgg") : SAS job failed with status 32512 I read some past discussions and I get the impression
2003 Jan 18
1
SAS transport files and the foreign package
...created. read.xport is supposed to create a list of data frames for this case. Here is SAS code I used to create test files, followed by R output. libname x SASV5XPT "test.xpt"; libname y SASV5XPT "test2.xpt"; PROC FORMAT; VALUE race 1=green 2=blue 3=purple; RUN; PROC FORMAT CNTLOUT=format;RUN; data test; LENGTH race 3 age 4; age=30; label age="Age at Beginning of Study"; race=2; d1='3mar2002'd ; dt1='3mar2002 9:31:02'dt; t1='11:13:45't; output; age=31; race=4; d1='3jun2002'd ; dt1='3jun2002 9:42:07'dt; t1='11:14:13't;...