EVOLUTION-MANAGER
Edit File: add_hook.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: Add a user hook to be executed before launching an R...</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 add_hook {callr}"><tr><td>add_hook {callr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Add a user hook to be executed before launching an R subprocess</h2> <h3>Description</h3> <p>This function allows users of <code>callr</code> to specify functions that get invoked whenever an R session is launched. The function can modify the environment variables and command line arguments. </p> <h3>Usage</h3> <pre> add_hook(...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>...</code></td> <td> <p>Named argument specifying a hook function to add, or <code>NULL</code> to delete the named hook.</p> </td></tr> </table> <h3>Details</h3> <p>The prototype of the hook function is <code style="white-space: pre;">function (options)</code>, and it is expected to return the modified <code>options</code>. </p> <h3>Value</h3> <p><code>add_hook</code> is called for its side-effects. </p> <hr /><div style="text-align: center;">[Package <em>callr</em> version 3.7.2 <a href="00Index.html">Index</a>]</div> </body></html>