From hadley at rice.edu  Fri Dec 23 23:38:37 2011
From: hadley at rice.edu (Hadley Wickham)
Date: Fri, 23 Dec 2011 16:38:37 -0600
Subject: [Rd] Debugging namespace problems
In-Reply-To: <4EF4FE7A.2060405@fhcrc.org>
References: <CABdHhvFG-3g5UFps-sn_wvaK_HKgeyhY1=8WNQ84H5sYVvL1ww@mail.gmail.com>
	<CABdHhvHr90tFo15yEWpVaw-XEpc0=SJ9NOAESN99LmK36D4t8Q@mail.gmail.com>
	<CABdHhvEoBaXV9Q-J5yrA1LS=93DX40u-iMSthnyZ65G7KPKe=g@mail.gmail.com>
	<4EF4FC9F.2020106@fhcrc.org> <4EF4FE7A.2060405@fhcrc.org>
Message-ID: <CABdHhvEf23dRNkSaMcM3hLj-vnm8qibXpFZ8T8xSMRd0S8SpUA@mail.gmail.com>

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



[Rd] Debugging namespace problems
Hadley Wickham