[R] Detect the presence of an object

Paulo Justiniano Ribeiro Jr paulojus at est.ufpr.br
Fri Jan 30 22:48:30 CET 2004


try the function exists()

On Fri, 30 Jan 2004, 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?
>
> Thank you.
> Francisco J. Molina
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>

Paulo Justiniano Ribeiro Jr
Departamento de Estatística
Universidade Federal do Paraná
Caixa Postal 19.081
CEP 81.531-990
Curitiba, PR  -  Brasil
Tel: (+55) 41 361 3471
Fax: (+55) 41 361 3141
e-mail: pj at est.ufpr.br
http://www.est.ufpr.br/~paulojus




More information about the R-help mailing list