Skip to content
Prev 13908 / 398502 Next

What is pager (was Re: [R] using the pfe editor with R 1.1.3 under windows 2000

On Sat, 29 Sep 2001 pauljohn at ukans.edu wrote:

            
I think it would be in R-rarely-AQ.

Try ?options. On Unix (but that thread was Windows) it says

  editor: sets the default text editor, e.g., for `edit'.  Set from the
          environment variable `VISUAL' on UNIX.

   pager: the (stand-alone) program used for displaying ASCII files on
          R's console. Defaults to `$R_HOME/bin/pager'.
If more or less is your pager (and on Unix it is now less if that is
found). There was another thread about using less basic pagers, for
example xless or the tcltk one.
No.  No editing in a pager.

The pager is the program used to display read-only files, like text help,
the output of page(), the output of file.show() ....   On
less-terminal-oriented versions of R it uses a separate window.
and so a multi-file editor needs to signal it has released a file. I know
how to do that with gnuclient + emacs, but not with PFE (which I have not
used for a couple of years). On Linux/Unix I use CDE's dtpad which
launches a separate window for each file, and quitting the window closes
the client instance of dtpad that R launched.