I'm trying to follow the ggplot introduction here: http://had.co.nz/ggplot/ggplot-introduction.pdf I've installed ggplot2 with install.packages("ggplot2", dep=T) but when I try to run print(ggpoint(p, list(colour = sex))) I get an error: Error in print(ggpoint(p, list(colour = sex))) : could not find function "ggpoint" What is the problem? Has the function been renamed in the ggplot -> ggplot2 transition? Thanks! -- View this message in context: http://www.nabble.com/help-with-ggplot2----ggpoint-function-missing--tp22834767p22834767.html Sent from the R help mailing list archive at Nabble.com.
Hi,> I'm trying to follow the ggplot introduction here: > http://had.co.nz/ggplot/ggplot-introduction.pdf > > I've installed ggplot2 with install.packages("ggplot2", dep=T) > but when I try to run > print(ggpoint(p, list(colour = sex))) > I get an error: > Error in print(ggpoint(p, list(colour = sex))) : > could not find function "ggpoint" > > What is the problem? Has the function been renamed in the ggplot -> ggplot2 > transition?ggplot2 has seen many improvements and still is under active development. Rather than find out what ggpoint was about and what happened to it, you might want to discover the current version using the following book as an introduction: http://had.co.nz/ggplot2/book/ There also is a targeted e-mail list whose archives may be instructive http://groups.google.com/group/ggplot2 HTH, Tobias
Did you load the package after installing it? install.packages("ggplot2") library(ggplot2) Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish & Wildlife Service California, USA --- On Wed, 4/1/09, haettulegur <haettulegur at gmail.com> wrote:> From: haettulegur <haettulegur at gmail.com> > Subject: [R] help with ggplot2 -- ggpoint function missing? > To: r-help at r-project.org > Date: Wednesday, April 1, 2009, 2:17 PM > I'm trying to follow the ggplot introduction here: > http://had.co.nz/ggplot/ggplot-introduction.pdf > > I've installed ggplot2 with > install.packages("ggplot2", dep=T) > but when I try to run > print(ggpoint(p, list(colour = sex))) > I get an error: > Error in print(ggpoint(p, list(colour = sex))) : > could not find function "ggpoint" > > What is the problem? Has the function been renamed in the > ggplot -> ggplot2 > transition? > > Thanks! > -- > View this message in context: > http://www.nabble.com/help-with-ggplot2----ggpoint-function-missing--tp22834767p22834767.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.
Seemingly Similar Threads
- Changing ggplot2 legend key/title to custom text
- GGPLOT2: Distance of discrete values of from each end of x-axis
- Patch for legend.position={left,top,bottom} in ggplot2
- how to overlay 2d pdf atop scatter plot using ggplot2
- Ordering of stack in ggplot (package ggplot2)