[R] qplot error -

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon Dec 10 19:43:11 CET 2012


Please ask the ggplot2 maintainer: this looks like ggplot2 depends on 
some other package/version that you have not updated yet and ggplot2 
does not declare it correctly.

So you should
1. update R
2. run update.packages()
3. report to the ggplot2 maintainer about your findings and the probably 
improperly declared version dependencies.

Best,
Uwe Ligges



On 10.12.2012 19:31, Troels Ring wrote:
> 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