name
.
For flexibility, the datasets are provided in ASCII form, with the name
of each variable listed in the first row of the file.
This function reads the files and makes the data available as a data frame.provide.data(data, path, options = list())
data.frame
sm
package.describe
, a
logical flag. If describe=TRUE
(default), a documentation file
of the data is searched and printed, if available.describe=TRUE
and a documentation file exists, this
is printed on the command windows or another windows, depending on
the type of platform where the program is executed.data
.dat and the documentation
file describing the data (if present) is assumed to be called data
.doc.
If the data.frame
is already attached, it is re-attached in the second
position of the search
list.
To set describe=F
for the rest of the current session, use
sm.options(describe=F)
The function can very easily be adapted to play a similar role for other packages.
data.frame
, attach
, sm
, sm.options