No traceback available when using try(...) (PR#6667)
dmurdoch@pair.com writes:
Edouard is right, I still see the error in a current 1.9.0 alpha build:
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()
No traceback available
Now that's odd:
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")
and that's with an alpha version from this Tuesday:
R : Copyright 2004, The R Foundation for Statistical Computing
Version 1.9.0 alpha (2004-03-08), ISBN 3-900051-00-3
did we accidentally revert something or what's up?
O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907