Re: [Rd] getGraphicsEvent in an example

2009-02-18 Thread Christophe Genolini
Greg Snow a écrit : Just wrap the example in either \dontrun{} or if(interactive()){ } Thanks. Your solution gives me an other idea : try(myFunction) works as well. Christophe That way that example will be skipped when the automatic tests are done, but will still be available for a read

Re: [Rd] getGraphicsEvent in an example

2009-02-17 Thread Gabor Grothendieck
Also any demos in the demo directory will be skipped by the automated checks. On Tue, Feb 17, 2009 at 12:01 PM, Greg Snow wrote: > Just wrap the example in either \dontrun{} or > if(interactive()){ > > } > > That way that example will be skipped when the automatic tests are done, but > will stil

Re: [Rd] getGraphicsEvent in an example

2009-02-17 Thread Greg Snow
Just wrap the example in either \dontrun{} or if(interactive()){ } That way that example will be skipped when the automatic tests are done, but will still be available for a reader to run by copy/paste or the examples function (2nd case above). This has worked for me, examples using these are