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
>> Sent: Tuesday, February 17, 2009 5:07 AM
>> To: r-devel@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
&
n...@r-
> project.org] On Behalf Of Christophe Genolini
> Sent: Tuesday, February 17, 2009 5:07 AM
> To: r-devel@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
> \
Hi the list,
Is there a way to include a function using a getGraphicsEvent in the
\examples section?
Christophe
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel