Resolve filenames relative to the HH directory.
The pathnames for all the datasets and executable files in the online
files accompanying Heiberger and Holland (2004) are given relative to
- Character string giving the pathname of a file in the HH
online files relative to the
fileis the name exactly as specified in Heiberger and Holland (2004). The
The datasets and code listings in Heiberger and Holland (2004) are
all given paths relative to the beginning of the
which must be stored as
If you installed the HH library from an R or S-Plus package, then
options()$HH.ROOT.DIR is set automatically.
If you installed the HH library by unzipping the downloaded online
files (not a package),
then you must manually define the
HH.ROOT.DIR option in
your working directory (for example,
S-Plus, or the
.GlobalEnv in R). You may do this in your
.First function in either system. Or you may enter at the
command prompt a statement of the form
options(HH.ROOT.DIR="c:/HOME/hh") in Windows or
options(HH.ROOT.DIR="/usr/users/hh") in Unix.
See Appendix B of Heiberger and Holland (2004) for further details.
may need to be modified to match the location of the
hh directory on
your machine. If you use more than one computer, you may need a
different value for the
HH.ROOT.DIR option on each machine. This
is the only change you will need to make in order to run any of our
software or examples. The
hh function itself is unchanged.
- Fully expanded, absolute pathname for the input filename.
Heiberger, Richard~M. and Holland, Burt (2004b). Statistical Analysis and Data Display: An Intermediate Course with Examples in S-Plus, R, and SAS. Springer Texts in Statistics. Springer. ISBN 0-387-40270-5.
hotdog <- read.table(hh("datasets/hotdog.dat"), header=TRUE)