[R] qplot error -
David L Carlson
dcarlson at tamu.edu
Mon Dec 10 19:54:22 CET 2012
Make sure you have version 1.8 of plyr installed. With 2.15.1 using
update.packages("plyr") does not seem to update from 1.7 to 1.8 (which
contains the revalue function). Using install.packages("plyr") should get
the current version.
----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Troels Ring
> Sent: Monday, December 10, 2012 12:31 PM
> To: r-help at r-project.org
> Subject: Re: [R] qplot error -
>
> Thanks a lot - here is win 64 bits too
> > library(ggplot2)
> pakke 'ggplot2' blev bygget under R version 2.15.2
> > qplot(mpg, wt, data=mtcars)
> Error in rename(x, .base_to_ggplot, warn_missing = FALSE) :
> could not find function "revalue"
> sessionInfo()
> R version 2.15.1 (2012-06-22)
> Platform: x86_64-pc-mingw32/x64 (64-bit)
>
> locale:
> [1] LC_COLLATE=Danish_Denmark.1252 LC_CTYPE=Danish_Denmark.1252
> [3] LC_MONETARY=Danish_Denmark.1252 LC_NUMERIC=C
> [5] LC_TIME=Danish_Denmark.1252
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> other attached packages:
> [1] ggplot2_0.9.3
>
> - well I thought it was due to ggplot being compiled in 2.15.2 while I
> was running 2.15.1 - but so did you?
>
> Best wishes
> Troels
>
>
>
>
> Den 10-12-2012 19:12, Rui Barradas skrev:
> > Hello,
> >
> > I couldn't reproduce your error.
> >
> > > library(ggplot2)
> > Warning message:
> > package 'ggplot2' was built under R version 2.15.2
> > > qplot(mpg, wt, data=mtcars, colour=cyl) # directly from the qplot
> help
> > > #(no error message and the graph shows up)
> > > sessionInfo()
> > R version 2.15.1 (2012-06-22)
> > Platform: x86_64-pc-mingw32/x64 (64-bit)
> >
> > locale:
> > [1] LC_COLLATE=Portuguese_Portugal.1252
> LC_CTYPE=Portuguese_Portugal.1252
> > [3] LC_MONETARY=Portuguese_Portugal.1252 LC_NUMERIC=C
> > [5] LC_TIME=Portuguese_Portugal.1252
> >
> > attached base packages:
> > [1] stats graphics grDevices utils datasets methods base
> >
> > other attached packages:
> > [1] ggplot2_0.9.2.1
> >
> > loaded via a namespace (and not attached):
> > [1] colorspace_1.2-0 dichromat_1.2-4 digest_0.5.2 fortunes_1.5-0
> > [5] grid_2.15.1 gtable_0.1.1 labeling_0.1 MASS_7.3-22
> > [9] memoise_0.1 munsell_0.4 plyr_1.7.1 proto_0.3-9.2
> > [13] RColorBrewer_1.0-5 reshape2_1.2.1 scales_0.2.2 stringr_0.6.1
> >
> >
> > What do you mean by "a .1 lack in R "?
> >
> > Rui Barradas
> > Em 10-12-2012 16:27, Troels Ring escreveu:
> >> Dear friends, I'm on windows, R 2.15.1 -
> >> library(ggplot2)
> >> #compiled under 2.15.2
> >> qplot(mpg, wt, data=mtcars, colour=cyl) # directly from the qplot
> help
> >> Error in rename(x, .base_to_ggplot, warn_missing = FALSE) :
> >> could not find function "revalue"
> >>
> >> Is that due to a .1 lack in R
> >> All the best
> >> Troels Ring
> >>
> >> ______________________________________________
> >> 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.
> >
> > ______________________________________________
> > 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.
> >
>
> ______________________________________________
> 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.
More information about the R-help
mailing list