[R] using browser() in complex programs - where am I?

Marcus Eger marcus.eger at physik.uni-marburg.de
Thu Aug 31 17:01:11 CEST 2000


Dear all,

is there an easy way to know at which position in the source code
browser() (or stop()) was called? This seems to be important for me when
I try
to debug a program (e.g. using options(error=quote(dump.frames())))

traceback() returns some information, but I miss something like a line
number, e.g. "stopped at line 999 in foo.R". 

Marcus

-- 
+-------------------------------------------------------
| Marcus Eger
| Philipps Universitaet Marburg
| Fachbereich Physik AG Neurophysik
| Renthof 7
| 35032 Marburg
| Tel. +49 6421 282-4169
| Fax  +49 6421 282-7034
+-------------------------------------------------------
| E-Mail: marcus.eger at physik.uni-marburg.de
+-------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list