[R] New R on Mac user fails to run MASS
Thomas Lumley
tlumley at u.washington.edu
Fri Jan 18 17:50:01 CET 2002
On Fri, 18 Jan 2002, Michael Kubovy wrote:
> My R installation (Mac OS9.2.2) is working, but when I try to run the
> examples from Venables & Ripley (p. 6):
>
> R : Copyright 2001, The R Development Core Team
> Version 1.4.0 (2001-12-19)
>
> ...
>
> > library(MASS)
> > x<-rnorm(1000)
> > y<-rnorm(1000)
> > truehist(c(x,y+3),nbins=25) % Plots nicely
> > dd<-con2tr(kde2d(x,y)) % Doesn't complain
> > contourplot(z ~ x + y, data=dd,aspect=1)
> Error: couldn't find function "contourplot"
> > wireframe(z ~ x + y, data=dd,drape=T)
> Error: couldn't find function "wireframe"
This looks as if you're trying to use the S-PLUS examples rather than the
`R Complements' that are available from the MASS website.
S-PLUS has some features that R lacks, and others that R implements
differently, and the `R Complements' help work around this.
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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