EVOLUTION-MANAGER
Edit File: readAll.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 values from disk</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 readAll {raster}"><tr><td>readAll {raster}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Read values from disk</h2> <h3>Description</h3> <p>Read all values from a raster file associated with a Raster* object into memory. This function should normally not be used. In most cases <code><a href="getValues.html">getValues</a></code> or <code><a href="getValuesBlock.html">getValuesBlock</a></code> is more appropriate as <code>readAll</code> will fail when there is no file associated with the RasterLayer (values may only exist in memory). </p> <h3>Usage</h3> <pre> readAll(object) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>object</code></td> <td> <p>a Raster* object</p> </td></tr> </table> <h3>See Also</h3> <p><code><a href="getValues.html">getValues</a></code>, <code><a href="getValuesBlock.html">getValuesBlock</a></code>, <code><a href="extract.html">extract</a></code></p> <h3>Examples</h3> <pre> r <- raster(system.file("external/test.grd", package="raster")) r <- readAll(r) </pre> <hr /><div style="text-align: center;">[Package <em>raster</em> version 3.3-13 <a href="00Index.html">Index</a>]</div> </body></html>