[R] Function to verify existence of an R object

2008-07-16 Thread Judith Flores
Hello,

   is there a function to check if an object exists?

Thank you,

Judith

__
R-help@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.


Re: [R] Function to verify existence of an R object

2008-07-16 Thread Duncan Murdoch

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@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.


__
R-help@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.


Re: [R] Function to verify existence of an R object

2008-07-16 Thread Bert Gunter
Please do your homework before posting: help.search(exists) -- ?exists

-- Bert Gunter 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Judith Flores
Sent: Wednesday, July 16, 2008 3:27 PM
To: RHelp
Subject: [R] Function to verify existence of an R object

Hello,

   is there a function to check if an object exists?

Thank you,

Judith

__
R-help@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.

__
R-help@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.


Re: [R] Function to verify existence of an R object

2008-07-16 Thread Earl F. Glynn
Judith Flores [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]

   is there a function to check if an object exists?

?exists

efg

Earl F Glynn
Stowers Institute for Medical Research

__
R-help@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.