search for: tmpprogloc

Displaying 4 results from an estimated 4 matches for "tmpprogloc".

2007 Apr 23
0
Correction to PR #9631 (PR#9632)
...TENTS to retrieve the full-length column names and then assign them as the column names of the returned data.frames, but that seems to be more effort than its worth. read.ssd <- function(libname, sectionnames, tmpXport = tempfile(), tmpProgLoc = tempfile(), sascmd = "sas"){ tmpFiles <- tmpXport on.exit(unlink(tmpFiles)) logGuess <- function(x){ expl <- strsplit(x, "")[[1]] rex <- rev(expl) br <- match("/", rex)[1] if(is.na(br)) return(x) r...
2010 Mar 25
1
Read SAS data
Hi! I need to import in R some SAS dataset (sas7bdat). I found two functions to do it: "read.ssd" from the package "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...
2003 Apr 14
7
functions in a package
Hello, I have a beginner's Q: if i want to know all the functions provided by a package, what is command for that? in another word, Is there a command to list all the commands available in a packege? thanks a lot, yan
2005 Sep 26
1
reading SAS data files
I am attempting to read in a SAS 9.1 data file. After starting R I change to the directory containing the sas data file and use the "dir" command to confirm that it is there. Then I run the following R-code: library(foreign) sashome <- "/Program Files/SAS/SAS 9.1" test<-read.ssd(file.path(sashome), "pcb", sascmd = file.path(sashome,