Hi, I installed the lattice package so I can plot 3D "cloud" scatterplots: > install.packages("lattice") But (after successfully installing from the Berkeley mirror), R insists it cannot find the cloud function, part of the lattice package: > cloud Error: object 'cloud' not found What did I do wrong? Thanks! PT -- View this message in context: http://www.nabble.com/%22Error%3A-object-%27cloud%27-not-found%22-tp25952117p25952117.html Sent from the R help mailing list archive at Nabble.com.
On 19/10/2009, at 2:16 PM, PerfectTiling wrote:> > Hi, > > I installed the lattice package so I can plot 3D "cloud" scatterplots: > >> install.packages("lattice") > > But (after successfully installing from the Berkeley mirror), R > insists it > cannot find the cloud function, part of the lattice package: > >> cloud > Error: object 'cloud' not found > > What did I do wrong?You didn't ***load*** the package, i.e. you didn't do library(lattice) cheers, Rolf Turner ###################################################################### Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
Hi PT, Try loading the lattice package first: # install.packages('lattice') require(lattice) ?cloud HTH, Jorge On Sun, Oct 18, 2009 at 9:16 PM, PerfectTiling <> wrote:> > Hi, > > I installed the lattice package so I can plot 3D "cloud" scatterplots: > > > install.packages("lattice") > > But (after successfully installing from the Berkeley mirror), R insists it > cannot find the cloud function, part of the lattice package: > > > cloud > Error: object 'cloud' not found > > What did I do wrong? > > Thanks! > > PT > -- > View this message in context: > http://www.nabble.com/%22Error%3A-object-%27cloud%27-not-found%22-tp25952117p25952117.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
library(lattice) Roy M. On Oct 18, 2009, at 6:16 PM, PerfectTiling wrote:> > Hi, > > I installed the lattice package so I can plot 3D "cloud" scatterplots: > >> install.packages("lattice") > > But (after successfully installing from the Berkeley mirror), R > insists it > cannot find the cloud function, part of the lattice package: > >> cloud > Error: object 'cloud' not found > > What did I do wrong? > > Thanks! > > PT > -- > View this message in context: http://www.nabble.com/%22Error%3A-object-%27cloud%27-not-found%22-tp25952117p25952117.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center 1352 Lighthouse Avenue Pacific Grove, CA 93950-2097 e-mail: Roy.Mendelssohn at noaa.gov (Note new e-mail address) voice: (831)-648-9029 fax: (831)-648-8440 www: http://www.pfeg.noaa.gov/ "Old age and treachery will overcome youth and skill." "From those who have been given much, much will be expected"