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

2010-09-09 Thread Duncan Murdoch
On 08/09/2010 11:46 PM, Philippe Grosjean wrote: On 08/09/10 19:25, David Winsemius wrote: On Sep 8, 2010, at 1:18 PM, telm8 wrote: 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

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

2010-09-08 Thread telm8
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:

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

2010-09-08 Thread David Winsemius
On Sep 8, 2010, at 1:18 PM, telm8 wrote: 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?

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

2010-09-08 Thread telm8
Thank worked! Thank you so much!!! -- View this message in context: http://r.789695.n4.nabble.com/try-error-can-not-be-test-Why-tp2531675p2531726.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

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

2010-09-08 Thread Philippe Grosjean
On 08/09/10 19:25, David Winsemius wrote: On Sep 8, 2010, at 1:18 PM, telm8 wrote: 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

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

2010-09-08 Thread David Winsemius
On Sep 8, 2010, at 11:46 PM, Philippe Grosjean wrote: On 08/09/10 19:25, David Winsemius wrote: On Sep 8, 2010, at 1:18 PM, telm8 wrote: 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