EVOLUTION-MANAGER
Edit File: printer_callback.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: Create a printer callback function</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 printer_callback {igraph}"><tr><td>printer_callback {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Create a printer callback function</h2> <h3>Description</h3> <p>A printer callback function is a function can performs the actual printing. It has a number of subcommands, that are called by the <code>printer</code> package, in a form </p> <pre> printer_callback("subcommand", argument1, argument2, ...) </pre><p> See the examples below. </p> <h3>Usage</h3> <pre> printer_callback(fun) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>fun</code></td> <td> <p>The function to use as a printer callback function.</p> </td></tr> </table> <h3>Details</h3> <p>The subcommands: </p> <dl> <dt><code>length</code></dt><dd><p>The length of the data to print, the number of items, in natural units. E.g. for a list of objects, it is the number of objects.</p> </dd> <dt><code>min_width</code></dt><dd><p>TODO</p> </dd> <dt><code>width</code></dt><dd><p>Width of one item, if <code>no</code> items will be printed. TODO</p> </dd> <dt><code>print</code></dt><dd><p>Argument: <code>no</code>. Do the actual printing, print <code>no</code> items.</p> </dd> <dt><code>done</code></dt><dd><p>TODO</p> </dd> </dl> <h3>See Also</h3> <p>Other printer callbacks: <code><a href="is_printer_callback.html">is_printer_callback</a>()</code> </p> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>