carol white
2009-Sep-11 17:20 UTC
[R] how to determine if a variable has already been initialized?
Hi, It might be a primitive question but how it is possible to determine if a variable is initialized in an environment? Suppose that we start a R session and wants to run a script which uses the variable i. Which function could evaluate if i exists already and has been initialized or not? The purpose is to avoid the message: error, object i is not found. Regards, Carol [[alternative HTML version deleted]]