[R] RWin 1.2.1: Can't access sample datasets, e.g. MASS

Akio Sone a.sone at worldnet.att.net
Tue Feb 6 05:38:14 CET 2001


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 -- 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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