[Rd] Debugging namespace problems

Hadley Wickham hadley at rice.edu
Fri Dec 23 23:38:37 CET 2011

>> 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?


Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University

More information about the R-devel mailing list