A short description of the post.
OK, so there is a bit of a circular firing squad going on in some of my R installs with ggplot2. Apparently, you can get various CRAN/Github versions out of sync and a whole host of different. Here is how it started:
> df <- data.frame(x=runif(20),y=runif(20),z=runif(20))
> library(ggtern)
Loading required package: ggplot2
--
Consider donating at: http://ggtern.com
Even small amounts (say $10-50) are very much appreciated!
Remember to cite, run citation(package = 'ggtern') for further info.
--
Attaching package: ‘ggtern’
The following objects are masked from ‘package:ggplot2’:
%+%, aes, annotate, calc_element, ggplot, ggplot_build,
ggplot_gtable, ggplotGrob, ggsave, layer_data, theme, theme_bw,
theme_classic, theme_dark, theme_gray, theme_light, theme_linedraw,
theme_minimal, theme_void
> ggtern(df,aes(x,y,z))
Error in f(..., self = self) : unused argument (<environment>)
hmmm…. Then ggmap also died.
To fix this, I did the following:
Seems to work now.
For attribution, please cite this work as
Dyer (2017, March 14). The Dyer Laboratory: ggproblems. Retrieved from https://dyerlab.github.io/DLabWebsite/posts/2017-03-14-ggproblems/
BibTeX citation
@misc{dyer2017ggproblems,
author = {Dyer, Rodney},
title = {The Dyer Laboratory: ggproblems},
url = {https://dyerlab.github.io/DLabWebsite/posts/2017-03-14-ggproblems/},
year = {2017}
}