EVOLUTION-MANAGER
Edit File: list.load.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: Load a list from file</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 list.load {rlist}"><tr><td>list.load {rlist}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Load a list from file</h2> <h3>Description</h3> <p>Load a list from file </p> <h3>Usage</h3> <pre> list.load( file, type = tools::file_ext(file), ..., guess = c("json", "yaml", "rds", "rdata", "xml"), action = c("none", "merge", "ungroup"), progress = length(file) >= 5L ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>file</code></td> <td> <p>a <code>character</code> vector. The file as input.</p> </td></tr> <tr valign="top"><td><code>type</code></td> <td> <p>The type of input which, by default, is determined by file extension. Currently supports RData, RDS, JSON, YAML.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Additional parameters passed to the loader function</p> </td></tr> <tr valign="top"><td><code>guess</code></td> <td> <p>a <code>character</code> vector to guess iteratively if <code>type</code> of <code>file</code> is unrecognized, <code>NA</code> or empty string.</p> </td></tr> <tr valign="top"><td><code>action</code></td> <td> <p>The post-processing action if multiple files are supplied. This parameter will be ignored if only a single file is supplied. </p> <p><code>'none'</code> (default) to leave the resulted list as a list of elements corresponding to elements in <code>file</code> vector. </p> <p><code>'merge'</code> to merge the list elements iteratively, the later lists always modify the former ones through <code>modifyList</code>. </p> <p><code>'ungroup'</code> to ungroup the list elements, especially when each file is a page of elements with identical structure.</p> </td></tr> <tr valign="top"><td><code>progress</code></td> <td> <p><code>TRUE</code> to show a text progress bar in console while loading files. By default, if <code>file</code> contains 5 elements, then the progress bar will automatically be triggered to indicate loading progress.</p> </td></tr> </table> <h3>Examples</h3> <pre> ## Not run: list.load('list.rds') list.load('list.rdata') list.load('list.yaml') list.load('list.json') ## End(Not run) </pre> <hr /><div style="text-align: center;">[Package <em>rlist</em> version 0.4.6.2 <a href="00Index.html">Index</a>]</div> </body></html>