>> in scales_add_defaults, where the symbol isn't found in the globalenv() >> when nstest is attached and ggplot2 only loaded, but is (via the search >> path) when ggplot2 is attached. > > and topenv(parent.frame()) is a replacement that gets to .GlobalEnv for > ggplot2, and to the name space for nstest.
Wonderful - thanks! Any hints on how you discovered the problem? Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/ ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel