peter denisevich
2001-Feb-06 00:07 UTC
[R] RWin 1.2.1: Can't access sample datasets, e.g. MASS
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thomas Lumley
2001-Feb-06 00:43 UTC
[R] RWin 1.2.1: Can't access sample datasets, e.g. MASS
On Mon, 5 Feb 2001, peter denisevich wrote:> 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) <====<snip> > > Same result for any other dataset.I get this for MASS only, not for other packages> 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?Yes, RData.zip is deliberate. It saves space (particularly with a FAT16 disk, where little files are very inefficient). In general, if the installer puts it there you should leave it there. However, there does seem to be a bug in the packaging of the current MASS version. The data/filelist file, which is supposed to give the contents of RData.zip actually has the contents of the data/ directory. As a workaround If you edit this file to list the contents of RData.zip (or just the files you want to load), data() will work. -thomas Thomas Lumley Asst. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I encountered the same problem. However, after I added a command line option such as -q or --verbose, I could read sample datasets of MASS package; more specifically, I changed the target box of the Rgui shortcut from C:\R\rw\bin\Rgui.exe to C:\R\rw\bin\Rgui.exe -q Akio Sone Harvard-MIT Data Center e-mail: asone at latte.harvard.edu> -----Original Message----- > From: owner-r-help at stat.math.ethz.ch > [mailto:owner-r-help at stat.math.ethz.ch]On Behalf Of peter denisevich > Sent: Monday, February 05, 2001 7:07 PM > To: r-help at stat.math.ethz.ch > Subject: [R] RWin 1.2.1: Can't access sample datasets, e.g. MASS > > > 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 -- Readhttp://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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
peter denisevich
2001-Feb-06 18:13 UTC
[R] RWin 1.2.1: Can't access sample datasets, e.g. MASS
This is the description file from the version of pkg. VR/MASS that I just downloaded (Feb 6, 2001) from CRAN. Looks as though the new build didn't get through to CRAN/Windows. Package: MASS Description: The main library. Title: Main Library of Venables and Ripley's MASS Bundle: VR Version: 6.2-3 Date: 2000/11/30 Depends: R (>= 1.1) Author: S original by Venables & Ripley. R port by Brian Ripley <ripley at stats.ox.ac.uk>, following earlier work by Kurt Hornik and Albrecht Gebhardt. BundleDescription: Various functions from the libraries of Venables and Ripley, `Modern Applied Statistics with S-PLUS' (3rd edition). License: GPL (version 2 or later) URL: http://www.stats.ox.ac.uk/pub/MASS3/ Built: R 1.2.0; Win32; 2001-01-04 08:51:17 ^^^^^ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Apparently Analagous Threads
- Fwd: Re: RWin 1.2.1: Can't access sample datasets, e.g. MASS
- Error in library(MASS) : package/namespace load failed
- 'Apparently' trouble with name spaces and Sweave...
- Sweave recode(car) and Lyx, compiling but not executing on Mac
- dnbinom(,size<1,)=0 (PR#842)