Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plyr 1.8 breaks ggplot2 0.9.3 (?) #737

Closed
bbolker opened this issue Dec 7, 2012 · 10 comments
Closed

plyr 1.8 breaks ggplot2 0.9.3 (?) #737

bbolker opened this issue Dec 7, 2012 · 10 comments

Comments

@bbolker
Copy link
Contributor

bbolker commented Dec 7, 2012

This was reported on StackOverflow: http://stackoverflow.com/questions/13765835/unusual-error-in-all-ggplot2-commands

(I note that the plot appears just fine, so this is really just a nuisance ...)

I couldn't reproduce it with ggplot2 0.9.3 until I updated plyr to 1.8, then I could:

> library(ggplot2)
qplot(1:10,1> ,y=1:10)1:10
The following `from` values were not present in `x`: col, color, pch, cex, lty, lwd, srt, adj, bg, fg, min, max
The following `from` values were not present in `x`: col, color, pch, cex, lty, lwd, srt, adj, bg, fg, min, max
The following `from` values were not present in `x`: col, color, pch, cex, lty, lwd, srt, adj, bg, fg, min, max
The following `from` values were not present in `x`: col, color, pch, cex, lty, lwd, srt, adj, bg, fg, min, max
The following `from` values were not present in `x`: col, color, pch, cex, lty, lwd, srt, adj, bg, fg, min, max
> sessionInfo()
R Under development (unstable) (2012-11-20 r61133)
Platform: i686-pc-linux-gnu (32-bit)

locale: [snip]
attached base packages: [snip]
other attached packages:
[1] ggplot2_0.9.3

loaded via a namespace (and not attached):
 [1] colorspace_1.2-0   dichromat_1.2-4    digest_0.5.2       grid_2.16.0       
 [5] gtable_0.1.1       labeling_0.2       MASS_7.3-22        munsell_0.4       
 [9] plyr_1.8           proto_0.3-9.2      RColorBrewer_1.0-5 reshape2_1.2.1    
[13] scales_0.2.3       stringr_0.6.1     
> 
@bbolker bbolker closed this as completed Dec 7, 2012
@bbolker bbolker reopened this Dec 7, 2012
@wch
Copy link
Member

wch commented Dec 7, 2012

This is probably the same issue as hadley/plyr#122. There's some sort of issue with upgrading plyr, and ggplot2. Also see http://blog.rstudio.org/2012/12/06/ggplot2-plyr-release/

@hadley hadley closed this as completed Dec 7, 2012
@bbolker
Copy link
Contributor Author

bbolker commented Dec 7, 2012

Weird. I had installed both from source (although separately) on Ubuntu 12.04. Re-running install.packages(c("ggplot2","plyr")) appears to have fixed it. (... ??? ...) Sorry for the extra noise.

@hadley
Copy link
Member

hadley commented Dec 7, 2012

@bbolker don't blame yourself, blame install.packages.

@juancentro
Copy link

I tried installing separately, then together, then again separately, but I still receive the same error. @hadley @bbolker any suggestion? Also, the warning about doMC not being available was always there? It's harmless, right?

@bbolker
Copy link
Contributor Author

bbolker commented Dec 7, 2012

@juancentro : I still don't claim to understand this, but have you followed the instructions exactly (open clean R sesssion (say, command-line version with --vanilla, just to be sure) and install.packages(c("ggplot2","plyr"),dependencies=TRUE)) ? And you don't have any versions of these packages stashed away in other libraries?

@juancentro
Copy link

@bbolker thanks for the answer. I hadn't tried the vanilla option. The issue remains unsolved though

@bbolker
Copy link
Contributor Author

bbolker commented Dec 7, 2012

i1 <- installed.packages(); i1["plyr",] ... ?

@wch
Copy link
Member

wch commented Dec 7, 2012

I just tried installing in a clean session on Windows XP, and I'm running into the same problem! But it only seems to happen in Windows for me.

This should work, but for some reason, the correct version of plyr isn't getting installed in Windows:

install.packages(c("ggplot2", "gtable", "scales", "plyr"))

@wch wch reopened this Dec 7, 2012
@juancentro
Copy link

Today I installed from the RStudio mirror plyr and ggplot2 at the same time and the issue was solved.

install.packages(c("ggplot2","plyr"),dep=T)

@wch
Copy link
Member

wch commented Dec 13, 2012

OK, glad to hear it worked for you. Since we haven't heard a whole lot of other complaints, I'll close this.

@wch wch closed this as completed Dec 13, 2012
@lock lock bot locked as resolved and limited conversation to collaborators Jun 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants