Learn R Programming

rapport (version 1.1)

rapport.read: Read Template

Description

Reads file either from template name in system folder, file path (see rapport.path) or remote URL, and splits it into lines for easier handling by rapport internal parser.

Usage

rapport.read(fp, ...)

Arguments

fp

a character string containing a template path, a template name (for package-bundled templates only), template contents separated by newline (\n), or a character vector with template contents.

...

additional params for header tag matching (see grep)

Value

a character vector with template contents