[R] New R on Mac user fails to run MASS

Michael Kubovy kubovy at virginia.edu
Fri Jan 18 15:37:28 CET 2002


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"
> 
-- 
=======================================================================
||\  /||  /  Michael Kubovy, Dept. of Psychology, Univ. of Virginia  ||
|| \/ || /   P.O.Box 400400, Charlottesville, VA 22904-4400          ||
||    ||/\   office (B011): 434-982-4729, lab (B019): -4751          ||
||    ||  \  Dept. fax: -4766; personal fax: 240-218-2334            ||
||    ||   \ URL http://www.people.virginia.edu/~mk9y                ||
======================================================================
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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