[ESS] ESS: running blocks of script very slow

Vitalie Spinu spinuvit.list at gmail.com
Thu Mar 3 21:19:01 CET 2011

Matthew Landis <landis at isciences.com> writes:

> For what it's worth, I'll second Kasper's recommendation.  The performance
> difference is dramatic, but I do miss being able to see the code blocks I've
> submitted.  Is there any way to have both?

Why do you want to see you code? The point jumps to the end of submitted
region for all "& step" commands. And ess-eval-region (C-c C-r) sends the
region which is already selected. So in both cases it's quite clear what you

Everything in ESS what evaluates visibly is very slow. It send each line and
wait for it to actually appear at the R prompt. So there is no way for it to
be made faster.

By the way, this is so frequently asked question that I believe it's worth
starting ESS FAQ just for it alone:)


> On 03/03/2011 09:48 AM, Kasper Daniel Hansen wrote:
>> My experience is that turning off echoing of the script inside the R
>> buffer speeds things up dramatically.  You can try putting
>> (setq ess-eval-visibly-p nil)
>> inside your .emacs
>> Kasper
>> On Thu, Mar 3, 2011 at 9:35 AM, Jannis<bt_jannis at yahoo.de>  wrote:
>>> Dear List,
>>> I am running blocks of R script using C-x C-r with Emacs/ESS on a windows machine. In my impression this is very slow even for commands with low calculation demands (e.g. defining functions etc.) compared to other GUIs that I have so far tested (Rkward, Standard R-GUI). Does anyone of you experience similar issues? Or does anybody have an idea on where to search for hints to the problem?
>>> My system is:
>>>> sessionInfo()
>>> R version 2.12.0 (2010-10-15)
>>> Platform: i386-pc-mingw32/i386 (32-bit)
>>> locale:
>>> [1] LC_COLLATE=English_United States.1252
>>> [2] LC_CTYPE=English_United States.1252
>>> [3] LC_MONETARY=English_United States.1252
>>> [4] LC_NUMERIC=C
>>> [5] LC_TIME=English_United States.1252
>>> attached base packages:
>>> [1] stats     graphics  grDevices utils     datasets  methods   base
>>> With Emacs GNU Emacs 23.1.1  on a windows machine. I could not figure out which ESS version is running.
>>> Thanks a lot
>>> Jannis
>>> ______________________________________________
>>> ESS-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/ess-help>>
>> ______________________________________________
>> ESS-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help

More information about the ESS-help mailing list