[R] Problem with ggplot2 - Boxplot
Hadley Wickham
hadley at rice.edu
Wed Sep 22 17:43:32 CEST 2010
That implies you need to update your version of plyr.
Hadley
On Wed, Sep 22, 2010 at 4:10 AM, RaoulD <raoul.t.dsouza at gmail.com> wrote:
>
> Hi,
>
> I am using ggplot2 to create a boxplot that summarizes a continuous
> variable. This code works fine for me on one PC however when I use it on
> another it doesnt.
>
> The structure of the dataset AHT_TopCD is SubReason=Categorical variable,
> AHT=Continuous variable.
>
> The code for the boxplot:
> require(ggplot2)
> qplot(SubReason,AHT,data=AHT_TopCD,geom="boxplot",main="AHT Spread - By
> Sub-Reason",xlab="AHT",colour=SubReason,alpha = I(1 / 5))+
> + coord_flip() + scale_x_discrete(breaks=NA)
>
> The error I get is :
> Error in get("make_aesthetics", env = x, inherits = TRUE)(x, ...) :
> could not find function "empty"
>
> I do not understand this error. Can anyone help me with this please? Also,
> let me know if you have any questions or require clarification on anything
> here.
>
> Regards,
> Raoul
> --
> View this message in context: http://r.789695.n4.nabble.com/Problem-with-ggplot2-Boxplot-tp2549970p2549970.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.
>
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
More information about the R-help
mailing list