Displaying 2 results from an estimated 2 matches for "sasd".
Did you mean:
said
2007 Dec 27
0
SAS to R - if you have SAS 8.2+
...t;]]
# hard-coded temporary files
# sas temporary csv file
csvdata <- paste(inPath,"/t__sd__t.csv", sep="")
# sas temporary column definition file
coldef <- paste(inPath,"/t__sc__t.csv", sep="")
libRef <-
obSAS.DataService$AssignLibref("sasds","",inPath,"")
# create the content csv file
cont1 <- paste("proc contents data=sasds.",inSAS,"
out=_tmp1(KEEP=NAME TYPE LENGTH VARNUM FORMAT)
noprint; run;",sep="")
cont2 <- "proc sort data=_tmp1; by varnum; run;"
cont3 &...
2010 Oct 19
1
How to read only ten rows from a SAS dataset (read.ssd)?
I'm trying to read SAS datasets on Windows:
sashome <- "C:/Program Files/SAS/SAS 9.1"
fold <- "C:/temp"
g <- read.ssd(fold, "sasfile", sascmd = file.path(sashome, "sas.exe"))
How to get only e.g first ten rows into R?
-J