getDataInfo(dh)
openData
.
"double"
,
"character"
, or
"factor"
.
TRUE
for those variables that will be included
in the imported
and
FALSE
for those variables that will be dropped.
The length of the
name
,
class
, and
keep
vectors in the returned list is the number of variables (columns) in the
external data set i.e. all variables
are listed whether they are kept or dropped.
# First create an external data set: exportData(Quinidine, "Quinidine.ssd01") # a SAS data set # Open the external data set for subsequent reads: dh <- openData("Quinidine.ssd01", rowsToRead=100, drop="Subject") # Get variable names and type: getDataInfo(dh) # Close the external data file: closeData(dh)