[R] question about scrolling up
Uwe Ligges
ligges at statistik.uni-dortmund.de
Fri Jun 2 18:52:57 CEST 2000
On Fri, 2 Jun 2000, Thomas Lumley wrote:
> 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)
And on many system Shift+PageUp works without using ESS.
> > 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.
Right. The results are shown, because print.eval is set to TRUE if you set
echo to TRUE.
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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