[Raster-commits] r254 - in pkg/raster: R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Feb 7 12:18:29 CET 2009


Author: rhijmans
Date: 2009-02-07 12:18:28 +0100 (Sat, 07 Feb 2009)
New Revision: 254

Modified:
   pkg/raster/R/set.R
   pkg/raster/man/rasterFromFile.Rd
Log:


Modified: pkg/raster/R/set.R
===================================================================
--- pkg/raster/R/set.R	2009-02-07 07:15:13 UTC (rev 253)
+++ pkg/raster/R/set.R	2009-02-07 11:18:28 UTC (rev 254)
@@ -134,3 +134,7 @@
 	return(raster)
 }
 
+setNAvalue <- function(raster, value) {
+	raster at file@nodatavalue <- value
+	return(raster)
+}

Modified: pkg/raster/man/rasterFromFile.Rd
===================================================================
--- pkg/raster/man/rasterFromFile.Rd	2009-02-07 07:15:13 UTC (rev 253)
+++ pkg/raster/man/rasterFromFile.Rd	2009-02-07 11:18:28 UTC (rev 254)
@@ -18,7 +18,7 @@
 
 \details{
  Supported file types are the 'native' raster package format and those that can be read via rgdal. See ?readGDAL help for supported file types.
- \n  See read* and values() for access to the values. 
+ See read* and values() for access to the values. 
 }
 
 \value{



More information about the Raster-commits mailing list