On 12/23/2011 02:38 PM, Hadley Wickham wrote:
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?

nothing clever to report; it reproduces at the command line so traceback(), options(error=recover), and then debug(ggplot2::ggplot_build).

Martin


Hadley



--
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Location: M1-B861
Telephone: 206 667-2793

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to