Quantcast
Channel: How to check if object (variable) is defined in R? - Stack Overflow
Viewing all articles
Browse latest Browse all 8

How to check if object (variable) is defined in R?

$
0
0

I'd like to check if some variable is defined in R - without getting an error. How can I do this?

My attempts (not successful):

> is.na(ooxx)Error: object 'ooxx' not found> is.finite(ooxx)Error: object 'ooxx' not found

Thanks!


Viewing all articles
Browse latest Browse all 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>