ggproblems

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:

  1. Removed ggtern, ggplot2, and ggmap from my library
  2. Installed ggplot2 from CRAN
  3. Installed ggmap from GitHub
  4. Installed ggtern from Bitbucket (why not github, I don’t know).

Seems to work now.

Father, Husband, Brewer, Professor

Middle aged guy trying to keep it all together and figure out how to best navigate the world as it is. Technology geek, practitioner of fermentation sciences, researcher, biologist.