[BioC] demo code for R package

Steve Lianoglou mailinglist.honeypot at gmail.com
Mon May 4 18:17:18 CEST 2009

Hi Shirley,

On May 4, 2009, at 12:11 PM, shirley zhang wrote:

> Dear List,
> Does anybody know a better way to run the demo code in users guide of
> each package? What I am doing now is copying each line into R to see
> the results.

Use the `example` function.

So, say I'd like to run the example code listed at the bottom of the  
`lapply` help page, I'd simply type:

R> example(lapply)


Steve Lianoglou
Graduate Student: Physiology, Biophysics and Systems Biology
Weill Medical College of Cornell University


More information about the Bioconductor mailing list