On 08/04/2014 3:34 PM, Paul Murtaugh wrote:
This is something peculiar about the environment on one particular linux
box, because it doesn't happen on other computers. Whenever I invoke
browser() inside a function, it automatically enters debugging mode,
with line-by-line execution of code:
> dum <- function() { browser(); x <- rnorm(10); print(x) }
> dum()
Called from: dum()
Browse[1]>
debug at #1: x <- rnorm(10)
Browse[2]>
debug at #1: print(x)
Browse[2]>
[1] -0.41466890 0.02276493 1.01332894 -2.72784447 0.73471652 0.41360718
[7] 1.67942142 -1.47384724 1.12129541 -1.13447881
> isdebugged(dum)
[1] FALSE
Thanks in advance for any tips on how to revert to the normal browser()
behavior.
-Paul
That looks like the normal browser() behaviour to me. What do you see
elsewhere?
Duncan Murdoch
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.