[ESS-bugs] ESS bug in R: "? xxx" at browser() prompt returns to top level

Stavros Macrakis macrakis at alum.mit.edu
Wed Aug 19 22:25:44 CEST 2009


In R 2.9.1 ESS 5.3.10 Emacs 22.3.1 Windows XP:

---------------------
> browser()
Called from: NULL
Browse[1]> ? list
>                                       <<< returns to top level after displaying help in other window
---------------------

Compare to behavior under R Console:

---------------------
> browser()
Called from: NULL
Browse[1]> ? list
Help for ‘list’ is shown in the browser
Browse[1]>                        <<< remains at browser level
---------------------

I speculate that what is going on here is that ESS intercepts the "?
list" command, but still sends a newline to the underlying R.
It would suffice for it to prefix the newline with a space to avoid
this problem.

             -s



More information about the ESS-bugs mailing list