Re: [Rd] getGraphicsEvent in an example

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Tue, 17 Feb 2009 13:12:19 -0500

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 <Greg.Snow_at_imail.org> 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 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 playSudoku in the sudoku package and dynIdentify in TeachingDemos.
>
> Hope this helps,
>
> --
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> greg.snow_at_imail.org
> 801.408.8111
>
>
>> -----Original Message-----
>> From: r-devel-bounces_at_r-project.org [mailto:r-devel-bounces_at_r-

>> project.org] On Behalf Of Christophe Genolini
>> Sent: Tuesday, February 17, 2009 5:07 AM
>> To: r-devel_at_r-project.org
>> Subject: [Rd] getGraphicsEvent in an example
>>
>> Hi the list,
>> Is there a way to include a function using a getGraphicsEvent in the
>> \examples section?
>> Christophe
>>
>> ______________________________________________
>> R-devel_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 17 Feb 2009 - 17:15:05 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 17 Feb 2009 - 22:30:25 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.

list of date sections of archive