EVOLUTION-MANAGER
Edit File: iniFile.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: Read a .ini 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 inifile {raster}"><tr><td>inifile {raster}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Read a .ini file</h2> <h3>Description</h3> <p>This function reads <code>'.ini'</code> files. These are text file databases that are organized in [sections] containing pairs of "name = value". </p> <h3>Usage</h3> <pre> readIniFile(filename, token='=', commenttoken=';', aslist=FALSE, case) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>filename</code></td> <td> <p>Character. Filename of the .ini file</p> </td></tr> <tr valign="top"><td><code>token</code></td> <td> <p>Character. The character that separates the "name" (variable name) from the "value"</p> </td></tr> <tr valign="top"><td><code>commenttoken</code></td> <td> <p>Character. This token and everything that follows on the same line is considered a 'comment' that is not for machine consumption and is ignored in processing</p> </td></tr> <tr valign="top"><td><code>aslist</code></td> <td> <p>Logical. Should the values be returned as a list</p> </td></tr> <tr valign="top"><td><code>case</code></td> <td> <p>Optional. Function that operates on the text, such as <code><a href="../../base/html/chartr.html">toupper</a></code> or <code><a href="../../base/html/chartr.html">tolower</a></code> </p> </td></tr> </table> <h3>Details</h3> <p>This function allows for using inistrings that have "=" as part of a value (but the token cannot be part of the 'name' of a variable!). Sections can be missing. </p> <h3>Value</h3> <p>A n*3 matrix of characters with columns: section, name, value; or a list if <code>aslist=TRUE</code>. </p> <hr /><div style="text-align: center;">[Package <em>raster</em> version 3.3-13 <a href="00Index.html">Index</a>]</div> </body></html>