On 11-09-27 5:39 AM, arunkumar1111 wrote:
Hi, I want to capture the error information without throwing it out. if i use try command it throws and also stores. and not able to get the error if i use tryCatch command. a="a" b=10 c=try(a/b)
That's how. c has now captured the error information. It did not throw the error, it just printed it. If you don't want it to print, see ?try.
Duncan Murdoch
Please help -- View this message in context: http://r.789695.n4.nabble.com/Capturing-the-error-information-tp3846624p3846624.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.
______________________________________________ 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.