Re: [Rd] R CMD check and x11?

From: Henrik Bengtsson <hb_at_stat.berkeley.edu>
Date: Tue 26 Sep 2006 - 05:26:39 GMT

You can close the x11() device using dev.off() 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.

/H

On 9/25/06, Dominick Samperi <dsamperi@decisionsynergy.com> 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
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel 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 https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.