[ESS] Browser and NL when evaluating code block

Vitalie Spinu spinuvit at gmail.com
Thu Oct 4 19:49:37 CEST 2012


  >> Cássio M. M. Pereira <cassiomartini at gmail.com>
  >> on Thu, 4 Oct 2012 13:33:08 -0300 wrote:

[...]

  > But this is not being respected when using C-c C-b to evaluate a buffer.

  > Consider this simple example:

  > a = 1
  > browser()
  > b = 2

Wrong use of browser(). This happens only on top level. Because browser
is entered and then next line is executed immediately. Try to paste
those lines in R console :)

This one works fine:

{
  a = 1
  browser()
  b = 2
}

    Vitalie



More information about the ESS-help mailing list