[R] printing from windows() device when running R under ESS
ripley at stats.ox.ac.uk
ripley at stats.ox.ac.uk
Fri Sep 6 20:16:22 CEST 2002
On Fri, 6 Sep 2002, Liaw, Andy wrote:
> Sorry for the cross-post: not sure whether it's Rterm or ESS (or something
> else?)...
>
> I'm running R (1.5.0 patched 2002-05-09, compiled from source on WinNT4)
> under ESS 5.1.21 with XEmacs 21.4.6. When I plotted a graph on the
> windows() device, and then use the menu in the R graphics window to print
> the graph, the printer selection dialog box does not show up until I go to
> the *R* buffer and hit return there. Anyone have any ideas?
Yes. ESS runs Rterm at the end of a pipe, and that starves the main loop
(whereas interactive Rterm uses a separate thread that trickles the main
loop).
NTemacs (and I presume XEmacs) fudges the absence of pty's on Windows.
It's a wonder it works at all. This could be solved if someone wants to
rewrite Rterm -ess to use a separate thread, but that's down to the
small community of emacs/ess/Windows/inferior-R-mode users to find a
volunteer.
--
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
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe or unsubscribe
(in the "body", not the subject !) To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the ESS-help
mailing list