Skip to content

reading SAS data files

2 messages · Dean Sonneborn, Brian Ripley

#
On Mon, 26 Sep 2005, Dean Sonneborn wrote:

            
I suggest you read the help file for read.ssd.  You are not telling it 
where the SAS files are correctly.  See the extracts below and the 
examples.

Usage:

      read.ssd(libname, sectionnames,
         tmpXport=tempfile(), tmpProgLoc=tempfile(), sascmd="sas")

Arguments:

  libname: character string defining the SAS library (usually a
           directory reference)

sectionnames: character vector giving member names. These are files in
           the 'libname' directory. They will usually have a '.ssd0x' or
           '.sas7bdat' extension, which should be omitted.

The files are not in the SAS homne directory, but the `default R 
directory' (perhaps you mean the working directory?).
PLEASE do!