Displaying 8 results from an estimated 8 matches for "sasprog".
2007 Apr 20
4
importing sas datasets
...e
variables' names are longer than 8 bite (it has to conform
to the 6 version).
2)I then tried with the sas.get function (Hmisc package) but
with the command:
c<- sas.get(lib="c:\\ghan", mem="mkds0001", var=(" "),
format.library="d:\\R\\R-2.4.1",
sasprog="C:\\Programmi\\SAS\\SAS 9.1\\sas.exe")
R can't launch the sas.exe because there is a space in the
directory SAS 9.1.
Is it possible that R can't import sas datasets with
variables' names' length longer than 8 bites?
Could you help in any of the two cases?
thank you
A...
2007 Apr 10
3
sas.get problem
...below I have tried various versions of
the file names with
with no luck.
Can anyone suggest some approach(s) that I might take.
Example.
library(Hmisc)
mydata <- sas.get(library="F:/sas", mem="form.ea1",
format.library="sas.fmts.sas7bdat",
sasprog = '"C:Program Files/SAS/SAS
9.1/sas.exe"')
Error message (one of several that I have gotten
while trying various things.)
The filename, directory name, or volume label syntax
is incorrect.
Error in sas.get(library = "F:/sas", mem = "form.ea1",
format.library...
2007 Apr 27
0
Fwd: RE: importing sas datasets
...your suggestions, I updated line 127 of the
> > sas.get function but after submitting the following
> > command:
> >
> > c<- sas.get(lib="c:\\ghan", mem="mkds0001", var=(" "),
> > format.library="d:\\R\\R-2.4.1",
> > sasprog='"C:\\Programmi\\SAS\\SAS 9.1\\sas.exe"') (also
> > trying with sasprog="C:\\Programmi\\SAS\\SAS
> > 9.1\\sas.exe")
> > the log signaled the following error:
> >
> > Errore in system(paste(shQuote(sasprog), shQuote(sasin),
> > "...
2006 Dec 11
3
Problem with sas.get function in Hmisc
Thomas,
As F Harrel in a preceding message told me that you are the maintainer
of Hmisc package,
I write directly to you, with copy to the Rhelp list in case someone
encountered the same problem and find some benefit in the response.
I used quite often the function sas.get in Hmisc library which I is
very, very useful.
But, as trying to reuse it today it seems not to function anymore.
I tried
2006 Jul 05
3
Invoking SAS in order to use sas.get
I am trying to use the sas.get function to bring a SAS dataset into R.
After calling the sas.get function I got an error message stating that
'sas' is not a recognized internal or external command, etc. I am
guessing that I need to specify the internal command to invoke SAS in
the sasprog option for the sas.get function, but I don't know how to
determine what that command might be. Any thoughts would be
appreciated.
Cody Hamilton, Ph.D
Institute for Health Care Research and Improvement
Baylor Health Care System
(214) 265-3618
This e-mail, facsimile, or letter and any...
2010 Mar 25
1
Read SAS data
...quot;foreign" and "sas.get" from "Hmisc".
df = read.ssd(libname = path2data, sectionnames = "sasSmallDataset",
tmpXport = path2data, tmpProgLoc = path2data, sascmd = path2sas)
sas.get(libraryName = path2data, member = "sasSmallDataset", formats =
FALSE, sasprog = path2sas, keep.log = TRUE)
where path2data is the directory on which is contained the file sas,
sasSmallDataset.sas7bdat are the data and path2sas is the path to SAS
(C:/Programmi/SAS/SAS System/9.0/sas.exe).
I obtain the following messages:
from read.ssd:
SAS failed. SAS program at Z:/projec...
2003 Sep 28
0
Problem with sas.get function in Hmisc library
...t;yearfrac",
"yearfrac2"), keep.log = TRUE, log.file = "_temp_.log", macro =
sas.get.macro, data.frame.out = existsFunction("data.frame"), clean.up =
TRUE, quiet = FALSE, temp = tempfile("SaS"), formats = TRUE, recode =
formats, special.miss = FALSE, sasprog = "sas", as.is = 0.5,
check.unique.id = TRUE, force.single = FALSE, where, uncompress = FALSE) "
Am I missing something ?
Using :
Package: Hmisc
Version: 2.0-0
Date: 2003-07-10
Title: Harrell Miscellaneous
> version
_ platform i386-pc-mingw32
arch i38...
2010 Dec 28
2
Importing Sas files to R
Dear All,
Am trying to import SAS files to R.
For that i used library "Hmisc" and
try<-sas.get("C:\\ex.sas7bdat") . But it shows error that
Error in sas.get("C:\\ex.sas7bdat") : SAS member name is required
In addition: Warning message:
In sas.get("C:\\ex.sas7bdat") :
C:\ex.sas7bdat/formats.sc? or formats.sas7bcat not found. Formatting
ignored.