[BioC] demo code for R package

Patrick Aboyoun paboyoun at fhcrc.org
Mon May 4 18:23:21 CEST 2009


Shirley,
If the vignette was written in a Sweave format, which it should have 
been, the Stangle function from the tools package and the Stangle 
command from R CMD will create an R script that you can source or 
execute line by line. See

library(tools)
help(Stangle)

from within R or

R CMD Stangle --help

from the OS command prompt for more information.


Patrick


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.
>
>



More information about the Bioconductor mailing list