View source: R/capture.output.R
Argument type
has been backported.
See the original description in utils::capture.output
.
1 2 3 4 5 6 7 |
1 2 3 4 5 6 | # get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_capture.output <- getFromNamespace("capture.output", "backports")
captured <- bp_capture.output({ message("hi") }, type = "message")
str(captured)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.