mask_print | R Documentation |
This function replaces the original paint methods for supported data.frame
sub classes with calls to paint()
in the current session. The utility of
this is that paint()
will be called whenever print()
would, for example
at the end of an expression when coding interactively.
mask_print()
unmask_print()
This also makes paint usable with other tools that output to console e.g. {breakerofchains}
.
If you really like paint()
you could put paint::mask_print()
in your .Rprofile
.
By default a colourful reminder message is emitted whenever print methods are
replaced, which may not happen until the package that contains them is actually
loaded, e.g. after library(tibble)
. This can be disabled with options(paint_remind_mask_print = FALSE)
unmask_print()
: the reverse operation to mask_print
: return all print methods to defaults.
unpaint()
A method for calling the default print functions once for a single object or .Last.value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.