\HeaderA{bcStangle}{A function to extract the code chunks from the book for the
online supplement}{bcStangle}
\aliasA{tangleToSingleFiles}{bcStangle}{tangleToSingleFiles}
\keyword{misc}{bcStangle}
\begin{Description}\relax
A function to extract the code chunks from the book for the
online supplement.
\end{Description}
\begin{Usage}
\begin{verbatim}
 bcStangle(files = .RbcBook1Files(), outfile= "bioCSpringer.R")
 tangleToSingleFiles()
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{files}] character vector with filenames of book chapters.
Must have extension \code{.Rnw}
\item[\code{outfile}] character of length 1 with the name of the output file.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
It should suffice to change to the book's top level directory
(e.g. .../Springer1/trunk/Book1)
and run \code{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.

\code{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).
\end{Details}
\begin{Value}
Function is called for its side effects.
\end{Value}
\begin{Author}\relax
Wolfgang Huber <huber@ebi.ac.uk>
\end{Author}
\begin{SeeAlso}\relax
.RbcBook1Files, Stangle
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
  ## bcStangle()
\end{ExampleCode}
\end{Examples}

