StangleBook: Stangle a set of files

View source: R/StangleBook.R

StangleBookR Documentation

Stangle a set of files

Description

Stangle more than one file at once. This is a helper function to Stangle all the chapters in Data Analysis for Forensic Scientists (DAFS) at once. I have put it into the library for completeness and in the hope that someone else might find it useful.

Usage

StangleBook(idx = 0:6,
           fileList = paste(paste("Chapter", idx, "/", sep = ""),
                            paste("ch", idx, ".rnw", sep = ""),
                            sep = ""))

Arguments

idx

There seven chapters in Data Analysis for Forensic Scientists. Corresponding to each chapter is a folder named ChapterI where I is a number from 0 to 6, and an Sweave file named chI.rnw. This parameter lets the user select which subset of files need to be run through Stangle

fileList

This parameter may be altered to suit the structure of your book. By default it is set to create a list of files that have the same name and directory structure as DAFS. The function iterates over a set of file names specified by this parameter.

Value

No values are returned

Author(s)

James Curran

See Also

Stangle


dafs documentation built on April 11, 2022, 5:06 p.m.

Related to StangleBook in dafs...