From ripley at stats.ox.ac.uk  Sun Jan  7 14:10:38 2007
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sun, 7 Jan 2007 13:10:38 +0000 (GMT)
Subject: [Rd] environmentName
In-Reply-To: <45A0D9C4.2090508@stats.uwo.ca>
References: <971536df0701070201n511119cfh6faae2b5828d445b@mail.gmail.com>
	<45A0D9C4.2090508@stats.uwo.ca>
Message-ID: <Pine.LNX.4.64.0701071309160.28744@gannet.stats.ox.ac.uk>

On Sun, 7 Jan 2007, Duncan Murdoch wrote:

[...]

> If you want
> to test for whether two variables refer to the same environment, then
> attach a unique label to the environments when you create them and check
> the labels.

You can simply use identical(env1, env2).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] environmentName
Prof Brian Ripley