search for: sasfoundation

Displaying 6 results from an estimated 6 matches for "sasfoundation".

Did you mean: hsafoundation
2011 Mar 06
1
read.ssd() from foreign package
...a confusing problem when I tried to use read.ssd to read SAS datasets. For one SAS dataset "a.sas7bdat", it did not work; while for another SAS dataset "b.sas7bdat" it worked: > tmp<-read.ssd("C:\\SASdata", "a",sascmd="C:/Program >Files/SAS/SASFoundation/9.2/sas.exe") SAS failed. SAS program at C:\DOCUME~1\yiz01\LOCALS~1\Temp\RtmpVjJa6m\file12384509.sas The log file will be file12384509.log in the current directory Warning message: In read.ssd("C:\\SASdata", "a", sascmd = "C:/Program Files/SAS/SASFoundation/9.2/sa...
2010 Aug 02
1
read SAS dataset using read.ssd()
...r with "ssd01" extension. I have no problem with the first dataset type, but got the following error message with the 2nd dataset type (with "ssd01" extension): test<-read.ssd("C:/Documents and Settings/Desktop","test",sascmd="C:/Program Files/SAS/SASFoundation/9.2/sas.exe") SAS failed. SAS program at C:\DOCUME~1\LOCALS~1\Temp\Rtmp08209e\file65b5504.sas The log file will be file65b5504.log in the current directory Warning message: In read.ssd("C:/Documents and Settings/Desktop", "test", sascmd = "C:/Program Files/SAS/SAS...
2012 Oct 11
1
Error in file(file, "rt") : cannot open the connection
...d using setwd or running R directly from that directory but still get the same error. Any help would be appreciated setwd("C:\\Documents and Settings\\....\\two") data= read.csv("data.csv", header=T) head(data) info <- list( saspath="\"C:/Program Files/SAS/SASFoundation/9.2", output="C:\\Documents and Settings\\...\\two",device="tiff", ........... ) Thanks -- Navin Goyal [[alternative HTML version deleted]]
2013 Feb 27
0
question about read.ssd function
...to read SAS dataset into R and have observed some weird behaviors. Here is my setting. I copied retail.sas7bdat from sashelp and placed it in my test directory C:\Temp. In R, I submitted the following command >read.ssd("C:/Temp", "retail", sascmd="C:/Program Files/SAS/SASFoundation/9.2/sas.exe") The data has been read correctly. But when I changed "retail" to a different sas dataset in the same directory, I received the following message: SAS failed. SAS program at C:\Users\wuj12\AppData\Local\Temp\RtmpoSwBE7\file542c5039.sas The log file will be file542c50...
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.
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