You have failed to provide the most basic of information as requested in
the posting guide. As you mention 'i create a x11 window and plot' I will
assume you mean that you open an X11() device and hence this is some
Unix-alike OS.
This has come up several times before, so please search the archives. If
you 'popen' R, its input is not from a tty and so it is not considered to
be running interactively and hence is not expecting users to interact with
it (like shutting down windows).
R 2.7.0 allows a --interactive flag which may help. Exactly what the
circumstances are in which the event loop is blocked seem to be
system-specific. But normally if non-interactive R is reading from stdin
it is completely blocked until input is completed -- and that is not
usually the case if R is interactive.
Should this be Windows (which does have an x11() device), the relevant
flag is --ess.
On Wed, 11 Jun 2008, [EMAIL PROTECTED] wrote:
i have created a wrapper C++ class that popen()s R. When i create a x11
window and plot, i cannot close it using the window button. Also, when i
minimize or maximize the window, the plot does not redraw. Can anybody
tell me if there is a way i can get back this window functionality or if
it is not possible?
thank you kindly.
-damon
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Brian D. Ripley, [EMAIL PROTECTED]
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 272866 (PA)
Oxford OX1 3TG, UKFax: +44 1865 272595
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.