EVOLUTION-MANAGER
Edit File: capture.output.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Backport of capture.output for R < 3.3.0</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for capture.output {backports}"><tr><td>capture.output {backports}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Backport of capture.output for R < 3.3.0</h2> <h3>Description</h3> <p>Argument <code>type</code> has been backported. See the original description in <code>utils::capture.output</code>. </p> <h3>Usage</h3> <pre> capture.output( ..., file = NULL, append = FALSE, type = c("output", "message"), split = FALSE ) </pre> <h3>Examples</h3> <pre> # 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) </pre> <hr /><div style="text-align: center;">[Package <em>backports</em> version 1.1.9 <a href="00Index.html">Index</a>]</div> </body></html>