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 <haettule...@gmail.com> wrote:

> From: haettulegur <haettule...@gmail.com>
> Subject: [R]  help with ggplot2 -- ggpoint function missing?
> To: r-help@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@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.

______________________________________________
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.

Reply via email to