[Rd] R CMD check and x11?
hb at stat.berkeley.edu
Tue Sep 26 07:26:39 CEST 2006
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
On 9/25/06, Dominick Samperi <dsamperi at 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
> 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.
> R-devel at r-project.org mailing list
More information about the R-devel