[R] question about scrolling up

Thomas Lumley thomas at biostat.washington.edu
Fri Jun 2 18:16:37 CEST 2000


On Fri, 2 Jun 2000, Jonathan Baron wrote:

> Is there a way to scroll up to see R's output (in Linux, in
> particular) without using the scrollbar (i.e., without using the
> mouse)?  I find that hard to control.

You can run R under Emacs with ESS (see the FAQ). This gives you all the
Emacs commands for scrolling (and for editing)
 
> This has become relevant because I've just discovered an
> (apparently) undocumented feature.  If you write a file of
> commands, you can run the file by saying source("file.R"), for
> example.  If you include statistical tests in the file, they
> won't run.  But if you say, source("rile,R",echo=T), they _will_
> run.  Thus, you can include all your data analysis in the same
> file and use this option setting to decide whether you want to
> see it.

The tests _will_ still run either way. You just won't see the output. Look
at the documentation for source(), options echo and print.eval.

	-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list