[Raster-commits] r280 - pkg/raster/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Feb 12 10:03:03 CET 2009
Author: rhijmans
Date: 2009-02-12 10:03:03 +0100 (Thu, 12 Feb 2009)
New Revision: 280
Modified:
pkg/raster/R/readSkip.R
Log:
Modified: pkg/raster/R/readSkip.R
===================================================================
--- pkg/raster/R/readSkip.R 2009-02-12 08:37:47 UTC (rev 279)
+++ pkg/raster/R/readSkip.R 2009-02-12 09:03:03 UTC (rev 280)
@@ -52,7 +52,7 @@
ymn <- ymin(raster) + (nrow(raster) - row) * yres(raster)
bndbox <- changeBbox(raster, xmx=xmx, ymn=ymn)
outras <- setBbox(outras, bndbox, keepres=F)
- outras at data@values <- dd
+ outras <- setValues(outras, dd)
}
if (asRaster) {
return(outras)
More information about the Raster-commits
mailing list