[ESS] ESS, install.packages() in R, and Windows

Richard M. Heiberger rmh at temple.edu
Mon Dec 19 18:44:08 CET 2005

> which --- on windows Rgui (or on the Mac) --- tries to open a
> graphical list-box widget, and which would not work inside ESS
> in Windows Rgui.  Can you confirm?

more on my previous response.
when the correct setup happens, this generates a windows selection box from
Rterm running inside the *R* buffer.

Therefore my inference is something like this:
Rterm thinks it is in a text-only environment until it is told otherwise.
trellis.device() tells it that it can talk to the window manager.
therefore select.list() now knows from some background variable that it too
can talk to the window manager.  This suggest to me that the right fix for R
is for Rterm to determine at startup time whether it is running in some remote
arrangement where it can't talk to a window manager or in some local arrangement
where it can.  It also suggests an option() that will default to select.list is
window-aware and can be set for select.list to use the text menu.  I can imagine
situations where an audit trail is wanted and therefore that select.list should
use the text menu.


More information about the ESS-help mailing list