Description Usage Arguments Details Value Author(s) See Also Examples
blablabla
Perfoms string formatting and interpolation through a format specification
1 |
format_string |
a format string (See details for specification) or a
|
Numbered fields start from 1 (not from 0, as in Python.)
Non-named fields (manually or automatically numbered) are evaluated only over
the list of arguments passed. You can't write expressions involving non-named
fields. In Python, you can write "{0.real}".format(1+2j)
and it will return a string with the real part of the number. You can't do
this here, it's a design choice. Allowing it would imply limiting the
kind of expressions one could use as a field, and expressions surely provide
more power than numbered fields.
On placeholders, pformat looks for names first on keyword arguments, then as a member of the with argument object, and only then at the caller's environment.
returns a 'character' vector with the output
Maintainer: Luiz Rodrigo de Souza me@lurodrigo.com [copyright holder]
Useful links:
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.