[ESS] ess eval invisibly only for large blocks

Vitalie Spinu spinuvit.list at gmail.com
Thu Mar 17 18:03:39 CET 2011


Thomas Alexander Gerds <tag at biostat.ku.dk> writes:

>
> so, today ess-tracebug has almost solved my problem. the thing is that
> when evaluating a longer R-function which includes many of folds
>
> ,----
> | ...
> | # }}}
> | # {{{  confidence intervals
> | ...
> `----
>
> then R shows this:
>
> ,----
> | + ... ++ ... ++ ... ++ ... ++ ... ++ ... ++ ... ++ ... ++ ... ++ ... ++ ... ++ ... ++ ... ++ ... ++ ... ++ ... ++ + + + + + + ... ++ + + + + + + + + + + + + + + + ... ++ + + + + + ... ++ + + + + + + + + + + + + + + + + + + + + + + + + + ... +> 
> `----
>

Wow, that's a long block!.

Emacs splits the process input in pieces, and each + ... + stands for one
such a piece. It is possible to replace consecutive + ... + , but would
unnecessary complicate the code.

Instead, you can use your own shorter replacement string - ".+", ".+\n" or
even empty "" which will get rid of all the +s altogether:

(setq ess-long+replace "")

Vitalie.



More information about the ESS-help mailing list