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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Feb 22 07:10:56 CET 2009


Author: rhijmans
Date: 2009-02-22 07:10:56 +0100 (Sun, 22 Feb 2009)
New Revision: 290

Modified:
   pkg/raster/R/distance.R
   pkg/raster/man/raster-package.Rd
   pkg/raster/man/rasterToPoints.Rd
Log:


Modified: pkg/raster/R/distance.R
===================================================================
--- pkg/raster/R/distance.R	2009-02-22 05:54:40 UTC (rev 289)
+++ pkg/raster/R/distance.R	2009-02-22 06:10:56 UTC (rev 290)
@@ -52,7 +52,8 @@
 		if( dataSource(object) =='disk'){ #to be tested
 		
 		# Fix error:  startRow has not been initialized.
-		
+			stop("currently only available for dataContent(raster)=='all'; use readAll")
+			
 			nrows <- nrow(object)
 			ncols <- ncol(object)
 			outRaster <- setRaster(object, filename)

Modified: pkg/raster/man/raster-package.Rd
===================================================================
--- pkg/raster/man/raster-package.Rd	2009-02-22 05:54:40 UTC (rev 289)
+++ pkg/raster/man/raster-package.Rd	2009-02-22 06:10:56 UTC (rev 290)
@@ -13,7 +13,7 @@
 Package: \tab raster\cr
 Type: \tab Package\cr
 Version: \tab 0.8\cr
-Date: \tab 2009-01-30\cr
+Date: \tab 2009-02-21\cr
 License: \tab GPL-3\cr
 LazyLoad: \tab yes\cr
 }
@@ -23,6 +23,7 @@
 }
 \author{
 Robert J. Hijmans and Jacob van Etten
+
 Maintainer: Robert J. Hijmans \email{r.hijmans at gmail.com}
 }
 \keyword{package}

Modified: pkg/raster/man/rasterToPoints.Rd
===================================================================
--- pkg/raster/man/rasterToPoints.Rd	2009-02-22 05:54:40 UTC (rev 289)
+++ pkg/raster/man/rasterToPoints.Rd	2009-02-22 06:10:56 UTC (rev 290)
@@ -30,7 +30,7 @@
  r <- raster(nrow=18, ncol=36)
  r[] <- round(10 * runif(ncell(r)))
  r[r>8] <- NA
- p <- rasterToPoints(r, fun=function(x){x>5})
+ p <- rasterToPoints(r, fun=function(x){x>6})
 #plot(r)
 #points(p)
 }



More information about the Raster-commits mailing list