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

Marcus Eger marcus.eger at physik.uni-marburg.de
Fri Sep 1 17:35:26 CEST 2000

Douglas Bates wrote:
> Marcus Eger <marcus.eger at physik.uni-marburg.de> writes:
> > Yes, I also use ESS. One can inspect what is available.  But what do
> > you do if your program has 1000 lines and say 50 browser() calls -
> > how do you know *which* browser()-call was hit.
> Umm, the S language is a functional language and you probably
> shouldn't try to write a 1000 line S function in the first place.  The
> power of S comes from the abilities to call functions within other
> functions and to construct new functions easily.  It is not
> well-suited to long, monolithic "programs".

I just gave the above "program" example to illustrate my question.
I understand that it seems to be difficult to have sth. like line
in S objects. However, the idea that browser() would cause a jump of the
to the corresponding position in the ESS source window would be a nice
(at least for me).

| 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