It runs on my system. I would still suggest updating to R 3.1.0 and making
sure raster and rgdal are the latest versions. I'm also running it in the
terminal, not through something like R Studio.
That's really all I can offer. Good luck!
-Andrew
library(raster)
library(rgdal)
load("~/Downl
Thanks Andrew...
Here is the raster layer object I can save as geoTif on Windows XP and
7 but not in Centos...
https://www.dropbox.com/s/t8rqkvwqnam3imm/rasterLayer.RData
As you can see, in the Centos box I have a newer version for the rgdal
and raster packages.
Thanks,
Guillermo
On Tue, Apr 2
Hey Guillermo,
All I can add is that I'm unable to reproduce this on my Lubutu 14.04
laptop.
Perhaps you should try updating R and your packages?
## The following code plots as expected:
setwd("~/Desktop")
library(raster)
r <- raster()
r[] <- 1:ncell(r) * 0.001
plot(r)
r2 <- writeRaster(r, "
Hey everyone, Im new to R and this forum so I apologize in advance for any
ambiguity in my question. What I want to do is create a spatiotemporal object
(class st) out of an esri shapefile with multiple features and csv file
containing data in long format (each row is one observation in space-t
Hey everyone, Im new to R and this forum so I apologize in advance for any
ambiguity in my question. What I want to do is create a spatiotemporal object
(class st) out of an esri shapefile with multiple features and csv file
containing data in long format (each row is one observation in space-t
Hi:
Is there any known issue on using writeRaster under Windows vs Linux?
I have been trying to write a rasterlayer as a geotif in a Linux
(centos) machine with no success...
I have this raster layer:
> varTmpRaster
class : RasterLayer
dimensions : 720, 1440, 1036800 (nrow, ncol, ncell)
I am using the "genalg" Package (Function rgba.bin)
(http://cran.r-project.org/web/packages/genalg/genalg.pdf) for some
calculations in R. For me it isn't very clear, how to set the
"zeroToOneRatio" for the "rbga.bin" function. Does anybody has some
suggestions for me?
Many Thanks in advance!!