telm8 <chienlinterry.huang <at> postgrad.manchester.ac.uk> writes:

> 
> 
> Thank worked! Thank you so much!!!


  in general it is safer (I think) to test

inherits(try(log("a")),"try-error")

  which takes care of the case when class(try(log("a"))) has
length > 1

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to