dmurdoch@pair.com
2004-Mar-12 15:08 UTC
[Rd] Re: [R] No traceback available when using try(...) (PR#6667)
On Fri, 12 Mar 2004 12:28:48 +0100, Edouard DUCHESNAY <duchesnay@shfj.cea.fr> wrote :>> > 1. The Situation : >> > ------------------------ >> > The stack traceback is not available when error ouccured in a try(....) >> >> It's a bug in 1.8.1. It has been fixed. >> >> -thomas >I have patched R (Version 1.8.1 Patched (2004-03-11)) and It stills not working. >- R was compiled without any option (only a --prefix=) >- I use a Linux RedHat 9Edouard 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 Duncan Murdoch
Peter Dalgaard
2004-Mar-12 19:50 UTC
[Rd] Re: [R] 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 availableNow 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
Maybe Matching Threads
- Re: [R] No traceback available when using try(...) (PR#6668)
- No traceback available when using try(...)
- Fwd: Re: Fwd: Extended acls with AD - problem with default/herited permissions
- Re: [R] No traceback available when using try(...) (PR#6669)
- [Bug 379] difficult to find the openssh code signing key on openssh.org.