[R] gnuclient.exe as pager ?

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Tue Oct 22 21:36:18 CEST 2002

You need to install gnuserv. You can get it from the windows/emacs/contrib
area on any GNU mirror, and there is more information in the NTemacs FAQ
(in windows/emacs/docs).  You will need something like

(require 'gnuserv)
(setq gnuserv-frame (selected-frame))

in _emacs or site-start.el.

Once that's done, you can from a command line use

gnuclientw foo

and file foo popds up to view in a emacs frame.

If you use

gnuclient foo

foo popds up to be edited, and you need to release the file (^x # as I

So you want gnuclientw and not gnuclient as your pager.

On Tue, 22 Oct 2002, Jim Rogers wrote:

> I see there are some previous threads on gnuclient.exe, but I can't
> figure this out based on those...
> I recently started using ESS with Xemacs. I'm on Windows XP. On starting
> iESS, my editor gets set to 'gnuclient.exe'. I don't understand how this
> works, since there is no executable anywhere on my machine called
> "gnuclient.exe". But I have no complaints: I like the primitive
> spreadsheet that now gets invoked by edit.data.frame. Now, I would like

Objection!  The R data editor is not primitive, and it is not a

> to be able to also use this gizmo as my pager (I would prefer to only

It is not a pager either.  A pager displays a text file, a page at a time.

> call edit.data.frame when I really intend to do some editing). But
> setting options(pager = "gnuclient.exe") doesn't do the trick. I can't
> figure out what's going on, since page calls file.show, which calls
> .Internal.

but R is Open Source and you can read the code ....

> So, can I use "gnuclient.exe" as my pager? How?

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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