Learn R Programming

rapport (version 1.1)

rapport.tangle: Extract template chunk contents

Description

rapport's alternative to Stangle - extracts contents of template chunks. If file argument

Usage

rapport.tangle(fp, file = "", show.inline.chunks = FALSE)

Arguments

fp

template file pointer (see rapport:::rapport.read for details)

file

see file argument in cat function documentation

show.inline.chunks

extract contents of inline chunks as well? (defaults to FALSE)

Value

(invisibly) a list with either inline or block chunk contents