[ESS] "nothing explicitly assigned" in ess-devel

Andreas Yankopolus andreas at yank.to
Sat Jan 11 15:24:24 CET 2014


Seems like an approach could be:

1. Starting at point, scan backward until a line is found that starts at column zero.
2. Evaluate from there until the first paren/brace closes and/or indentation returns to column zero.

—Andreas

On Jan 11, 2014, at 04:11, Peter Meilstrup <peter.meilstrup at gmail.com> wrote:

> I have a problem somewhat similar to what Andreas posted. I have
> definitions that look like
> 
> m <- macro(function(...) {
>  body
> })
> 
> where 'macro' is a wrapper that puts some special argument evaluation
> around a function. Ess-devel is enabled and my package is added to the
> active packages.
> 
> When I do C-c C-c, it picks up the beginning and end of the paragraph,
> and asks me where to evaluate. I select my package to evaluate in,
> then it goes and evaluates, then comes back with a message "***nothing
> explicitly assigned ***". And 'm' is not changed.
> 
> I don't see how that makes any sense, because (if you were looking at
> the results of evaluation) then you would see that 'm' was assigned.
> 
> Peter
> 
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list