Look at ?exists
> -----Original Message-----
> From: s-news-owner@lists.biostat.wustl.edu
> [mailto:s-news-owner@lists.biostat.wustl.edu]On Behalf Of mats pistol
> Sent: Wednesday, November 24, 2004 9:36 AM
> To: s-news@lists.biostat.wustl.edu
> Subject: [S] S object existence
>
>
> I need to test whether an object (eg a data
> frame)exists before I use it.
>
> Is there an exists(object) or an if.exists statement
> availably in S+?
>
> Is anyone aware of alternative methods of testing for
> existence of a data frame or object without falling
> foul of a terminating error.
>
> Rgds
>
> Erik
> Using S+ 6.2 professional on windows.
>
>
>
> ___________________________________________________________
> Moving house? Beach bar in Thailand? New Wardrobe? Win £10k
> with Yahoo! Mail to make your dream a reality.
> Get Yahoo! Mail www.yahoo.co.uk/10k
> --------------------------------------------------------------------
> This message was distributed by s-news@lists.biostat.wustl.edu. To
> unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
> the BODY of the message: unsubscribe s-news
>
|