[R] RWin 1.2.1: Can't access sample datasets, e.g. MASS
peter denisevich
pdenis2 at home.com
Tue Feb 6 01:07:15 CET 2001
I'm pretty sure I'll feel like [more of] an idiot but...
Using Rgui working in a fresh, blank directory.
> require(MASS)
Loading required package: MASS
[1] TRUE
> data(cabbages)
Warning message:
======> Data set `cabbages' not found in: data(cabbages) <=====
> ls()
[1] "last.warning"
> search()
[1] ".GlobalEnv" "package:MASS" "package:ctest" "Autoloads"
[5] "package:base"
> .lib.loc
[1] "D:/R-WIN/RW1021/library"
> Sys.getenv("R_HOME")
R_HOME
"D:\\R-WIN\\RW1021"
> dir("D:\\R-WIN\\RW1021\\library\\MASS\\data")
[1] "00Index" "abbey.rda" "accdeaths.rda" "Aids2.rda"
[5] "Animals.rda" "anorexia.rda" "austres.rda" "beav1.rda"
<snip, 'cabbages' IS there>
Same result for any other dataset.
All packages were installed in RW1021/library/<pkg>, some by manual
download/rinst some by install.packages().
Note that after installation, the library/MASS/data directory contained
ONLY RData.zip, so I unzipped it; the same for the other data (and R-ex)
directories in the tree. Is this new behavior?
There are no .Renviron files on the system and the only .Rprofiles are the
[#'d out] one in /etc and the original, unmodified
"mother-of-all-Rprofiles" in /lib/R. The latter, for some reason, loads
ctest...
I'm obviously missing something since I didn't go thru any such gyrations
using R<1.2.1 ?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list