I think that if you put these commands into your .emacs file then it should
act as you wish ...

(setq comint-scroll-to-bottom-on-input t)
(setq comint-scroll-to-bottom-on-output t)
(setq comint-move-point-for-output t)
(setq comint-scroll-show-maximum-output t)

Cheers

Andrew


On Mon, Jun 6, 2011 at 8:50 PM, Marianne Promberger <
marianne.promberger@kcl.ac.uk> wrote:

> Dear ESS list,
>
> I often work with R/Emacs by splitting the Emacs window, and one
> window showing a buffer containing R commands, the other the R
> process.
>
> In the window showing the command file, I step through the R commands
> paragraph-wise using C-c C-c, sending them to the R process.
>
> As these commands are evaluated, they show up in the R process buffer/
> window, but the contents of that window do not scroll along with the
> new content. This means I no longer see the last lines of the R
> process buffer.
>
> I would like the R process window to keep moving text up as I send
> commands to it from the other window, so that I always see the last
> line. (The main advantage being that I would see errors when they
> occur. I usually use this system to find where an error occurs if
> C-c C-l of the file containing R commands tells me there is an error.)
>
> Possible?
>
> Thanks,
>
> Marianne
>
> --
> Marianne Promberger PhD
> King's College London
> London SE1 9RT
> GnuPG/PGP public key ID 80AD9916
> .tex .bib .R .Rnw files welcome
> Times for meetings: http://promberger.info/plan
>
> ______________________________________________
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>



-- 
Andrew Robinson
Program Manager, ACERA
Senior Lecturer in Applied Statistics                      Tel:
+61-3-8344-6410
Department of Mathematics and Statistics            Fax: +61-3-8344 4599
University of Melbourne, VIC 3010 Australia
Email: a.robinson@ms.unimelb.edu.au    Website: http://www.ms.unimelb.edu.au

FAwR: http://www.ms.unimelb.edu.au/~andrewpr/FAwR/
SPuR: http://www.ms.unimelb.edu.au/spuRs/

	[[alternative HTML version deleted]]

