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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Reasonably Related Threads
- Conditional contour plots for estimated density functions using Lattice
- Need help putting histograms on the diagonal of a splom plot
- contourplot:how to get it to label all contours like 'contour'
- Reducing space around lattice wireframe plots
- : (Lattice): Overlaying more than one trend surface using contourplot() and wireframe()