Skip to content
Back to formatted view

Raw Message

Message-ID: <401AE175.21770.209B534C@localhost>
Date: 2004-01-30T21:57:57Z
From: Torsten Steuernagel
Subject: Detect the presence of an object
In-Reply-To: <16410.50557.738399.755782@dhcp-63-193.cse.ucsc.edu>

On 30 Jan 2004 at 12:58, Francisco J Molina wrote:

> 
> Is there a  function like "is.there" such that 
> 
> is.there ( a ) returns TRUE is object 'a' is in the current
> environment and FALSE otherwise?

Have you tried exists("a", inherits=FALSE) ?

- Torsten