On Fri, 12 Mar 2004, Roger D. Peng wrote:
> Funny, it works for me on R-patched
>
> > f <- function(a) { return(log(a)) }
> > f("A")
> Error in log(x) : Non-numeric argument to mathematical function
> > traceback()
> 2: log(a)
> 1: f("A")
> > try(f("A"))
> Error in log(x) : Non-numeric argument to mathematical function
> > traceback()
> 2: log(a)
> 1: f("A")
>
No, it doesn't. The second traceback() call is printing the *previous*
trace information, which in this case is the same.
The bug in 1.8.1, which *is* fixed, is that you didn't get traceback
information anywhere, rather than not getting it with try()
-thomas
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html