Dear R Users,
I have just installed R 2.8 today and also updated the Hmisc package to the
latest 3.4-4 version. However, the sas.get function no longer works in the new
Hmsic 3.4-4. Below is a sample code and output from the old and new, but the
old one worked.
Can someone tell me how sas.get should be used in Hmisc 3.4-4.
Thanks,
Larry
Package Hmisc version 3.0-12
> a1 <- sas.get("C:\\Temp", mem="one")
Read 2 records
Read 1 record
Warning message:
C:\Temp/formats.sc? or formats.sas7bcat not found. Formatting ignored.
in: sas.get("C:\\Temp", mem = "one")
> a1
x y
1 1 2
Package Hmisc version 3.4-4
> a1 <- sas.get("C:\\Temp", mem="one")
The filename, directory name, or volume label syntax is incorrect.
Error in sas.get("C:\\Temp", mem = "one") : SAS job failed with status 1
In addition: Warning messages:
1: In sas.get("C:\\Temp", mem = "one") :
C:\Temp/formats.sc? or formats.sas7bcat not found. Formatting ignored.
2: In shell(cmd, wait = TRUE, intern = output) :
'"sas" "C:\DOCUME~1\malarry\LOCALS~1\Temp\Rtmp84GyYh\SaS2ea6bb3.3.sas" -log
"_temp_.log"' execution failed with error code 1
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
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.