[R] "try-error" can not be test. Why?

telm8 chienlinterry.huang at postgrad.manchester.ac.uk
Wed Sep 8 19:18:26 CEST 2010


Hi,

I am having some strange problem with detecting "try-error". From what I
have read so far the following statement:


try( log("a") ) == "try-error"


should yield TRUE, however, it yields FALSE. I can not figure out why. Can
someone help?

Many thanks
-- 
View this message in context: http://r.789695.n4.nabble.com/try-error-can-not-be-test-Why-tp2531675p2531675.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list