Re: [Rd] R CMD check and x11?

From: Henrik Bengtsson <>
Date: Tue 26 Sep 2006 - 05:26:39 GMT

You can close the x11() device using in your example. You may also want to look at interactive() so you can test in your example is the code is run interactively or not; the latter is the case for R CMD check.


On 9/25/06, Dominick Samperi <> wrote:
> One of my demos runs x11() so that I can resize the
> window and avoid the "too large for margins" message
> from plot. This seems to have a problematic side
> effect.
> When I run R CMD check on the package that demo
> is displayed, because it appears as an example in
> one of the man pages, and after this happens EVERY
> demo that plots anything is displayed (probably because
> they are in man pages).
> Normally R CMD check does not cause anything to
> be displayed, and this may cause problems if I submit
> the package to CRAN.
> Any pointers would be appreciated.
> Thanks,
> ds
> ______________________________________________
> mailing list
> mailing list Received on Tue Sep 26 15:28:20 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 26 Sep 2006 - 08:30:11 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.