Displaying 1 result from an estimated 1 matches for "constructorfunction".
Did you mean:
constructfunction
2011 Dec 13
4
Keep sourcing when there is an error
Hello,
I want to know if there is any way to avoid source() stopping when there
is an error.
Here is the content of my Main.R script:
source("~/R/source/Constructor1.R") # Object1 should be constructed
ifelse(exists("Object1"), # It's an S4 object
print("Object1 exists"), # I can't avoid using 'validity'