Learn R Programming

rapport (version 0.51)

tpl.find: Read Template

Description

Reads file either from template name in system folder, file path or remote URL, and splits it into lines for easier handling by rapport internal parser. "find" in tpl.find is borrowed from Emacs parlance - this function actually reads the template.

Usage

tpl.find(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.

Value

  • a character vector with template contents