Provides a set of functions to facilitate building formatted strings under various replacement rules: C-style formatting, variable-based formatting, and number-based formatting. C-style formatting is basically identical to built-in function 'sprintf'. Variable-based formatting allows users to put variable names in a formatted string which will be replaced by variable values. Number-based formatting allows users to use index numbers to represent the corresponding argument value to appear in the string.

Documentation

Manual: rprintf.pdf
Vignette: None available.

Maintainer: Kun Ren <ken at renkun.me>

Author(s): Kun Ren <ken at renkun.me>

Install package and any missing dependencies by running this line in your R console:

install.packages("rprintf")

Depends R (>= 2.15)
Imports stringi
Suggests testthat, knitr
Enhances
Linking to
Reverse
depends
Reverse
imports
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package rprintf
Materials
URL http://renkun.me/rprintf https://github.com/renkun-ken/rprintf
Task Views ReproducibleResearch
Version 0.2.1
Published 2015-09-09
License MIT + file LICENSE
BugReports https://github.com/renkun-ken/rprintf/issues
SystemRequirements
NeedsCompilation no
Citation
CRAN checks rprintf check results
Package source rprintf_0.2.1.tar.gz