[Raster-commits] r311 - in pkg/raster: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Mar 4 17:16:44 CET 2009


Author: rhijmans
Date: 2009-03-04 17:16:44 +0100 (Wed, 04 Mar 2009)
New Revision: 311

Modified:
   pkg/raster/DESCRIPTION
   pkg/raster/R/expand.R
Log:


Modified: pkg/raster/DESCRIPTION
===================================================================
--- pkg/raster/DESCRIPTION	2009-03-04 16:12:51 UTC (rev 310)
+++ pkg/raster/DESCRIPTION	2009-03-04 16:16:44 UTC (rev 311)
@@ -1,7 +1,7 @@
 Package: raster
 Type: Package
 Title: Raster data handling for geographic data analysis and modeling
-Version: 0.8.9-1
+Version: 0.8.9-2
 Date: 4-March-2009
 Depends: methods, sp, rgdal (>= 0.5-33), R (>= 2.8.0)
 Author: Robert J. Hijmans & Jacob van Etten

Modified: pkg/raster/R/expand.R
===================================================================
--- pkg/raster/R/expand.R	2009-03-04 16:12:51 UTC (rev 310)
+++ pkg/raster/R/expand.R	2009-03-04 16:16:44 UTC (rev 311)
@@ -44,7 +44,7 @@
 		}
 
 	} else if ( dataSource(raster) == 'disk' ) { 
-		if (!.CanProcessInMemory(x, 2) && filename == '') {
+		if (!.CanProcessInMemory(outraster, 2) && filename == '') {
 			filename <- tempfile()
 			outraster <- setFilename(outraster, filename )
 			if (options('verbose')[[1]]) { cat('writing raster to:', filename(raster))	}						



More information about the Raster-commits mailing list