rprintf: Adaptive Builder for Formatted Strings

Share:

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.

Author
Kun Ren <ken@renkun.me>
Date of publication
2015-09-09 09:34:46
Maintainer
Kun Ren <ken@renkun.me>
License
MIT + file LICENSE
Version
0.2.1
URLs

View on CRAN

Man pages

rprintf
Build a character vector or list with adaptive string...
rprintn
Build a character vector or list with number-based string...
rprintv
Build a character vector or list with variable-based string...

Files in this package

rprintf
rprintf/tests
rprintf/tests/testthat.R
rprintf/tests/testthat
rprintf/tests/testthat/test-rprintn.R
rprintf/tests/testthat/test-rprintv.R
rprintf/tests/testthat/test-rprintf.R
rprintf/NAMESPACE
rprintf/NEWS
rprintf/R
rprintf/R/rprintn.R
rprintf/R/rprintf.R
rprintf/R/internal.R
rprintf/R/rprintv.R
rprintf/README.md
rprintf/MD5
rprintf/DESCRIPTION
rprintf/man
rprintf/man/rprintn.Rd
rprintf/man/rprintv.Rd
rprintf/man/rprintf.Rd
rprintf/LICENSE