[R] Function to verify existence of an R object

Duncan Murdoch murdoch at stats.uwo.ca
Thu Jul 17 00:35:03 CEST 2008

On 16/07/2008 6:26 PM, Judith Flores wrote:
> Hello,
>    is there a function to check if an object exists?

exists("foo") checks for foo.  (There are a few other optional 
parameters to tell it where to look, and what sort of thing foo might be.)

Duncan Murdoch

> Thank you,
> Judith
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list