[R] Exception Handling

Zhongming Yang Zhongming.Yang at cchmc.org
Wed Jan 15 16:36:03 CET 2003

R Users:

How can I catch R errors and depend on this error call other R
functions in Perl? 

The foolowing is the error message when I use perl call R. 

Error in nls(modout ~ exp(-b1 * modin)/(b2 + b3 * modin), trace = F,
start = c(b1 = 0.005,  : 
        singular gradient
Segmentation fault



More information about the R-help mailing list