[ESS] Trouble evaluating in namespace

Vitalie Spinu @pinuvit @ending from gm@il@com
Sat Dec 8 13:02:29 CET 2018


You cannot evaluate your input line by line inside a package. The entire
function should be sent at once. Use C-c C-c instead.

The current doc string of `ess-eval-region-or-line-visibly-and-step` says:

  Note that when inside a package and namespaced evaluation is in place (see
  ‘ess-r-set-evaluation-env’) evaluation of multiline input will fail.

>> On Thu, Dec 06 2018 16:07, Kevin Wright via ESS-help wrote:

>  (ess-inject-source nil)

Not the best idea. At least for functions you would like to have source
references on errors. There is really no benefits at all for changing the
default to nil.

  Vitalie



More information about the ESS-help mailing list