bcStangle: A function to extract the code chunks from the book for the...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/bcStangle.R

Description

A function to extract the code chunks from the book for the online supplement.

Usage

1
2
 bcStangle(files = .RbcBook1Files(), outfile= "bioCSpringer.R")
 tangleToSingleFiles()

Arguments

files

character vector with filenames of book chapters. Must have extension .Rnw

outfile

character of length 1 with the name of the output file.

Details

It should suffice to change to the book's top level directory (e.g. .../Springer1/trunk/Book1) and run bcStangle().

This function is specialized to its one purpose given in the title. It is not envisaged that it could be useful beyond, or even replace Stangle.

tangleToSingleFiles creates a directory named Rfiles and tangles each chapter separately into this directory. You must have the current working directory set to the top level directory of the book (Springer/Book1).

Value

Function is called for its side effects.

Author(s)

Wolfgang Huber <huber@ebi.ac.uk>

See Also

.RbcBook1Files, Stangle

Examples

1
  ## bcStangle()

RbcBook1 documentation built on Nov. 8, 2020, 7:18 p.m.