Re: [R-sig-Geo] writeRaster and raster give same error after package update

2013-11-20 Thread Guillaume Drolet
Hi Robert, This morning I got the error below when I tried to install the latest version of raster: install.packages(raster, repos = http://R-Forge.project.org;) Installing package into ‘C:/Users/Utilisateur/Documents/R/win-library/3.0’ (as ‘lib’ is unspecified) source repository is

Re: [R-sig-Geo] writeRaster and raster give same error after package update

2013-11-20 Thread Robert J. Hijmans
Guillaume. Alternatively you can download and then install from here: http://r-forge.r-project.org/R/?group_id=294 Download the zip file and in Rgui use install packages from local zip file Robert On Wed, Nov 20, 2013 at 6:32 AM, Guillaume Drolet droletguilla...@gmail.com wrote: Hi Robert,

[R-sig-Geo] writeRaster and raster give same error after package update

2013-11-19 Thread Guillaume Drolet
Hi, I've been working on a set of functions for a bit more than a month. This morning I updated all my packages (but not R) and now, when I call: outfile - b4.sinks.sgrd writeRaster(myraster, outfile, overwrite = TRUE, datatype = FLT4S, NAflag = -) or infile - b4.sinks.sdat r -

Re: [R-sig-Geo] writeRaster and raster give same error after package update

2013-11-19 Thread droletg
Hi Again: Following on to my previous post, I discovered that I can successfully writeRaster() if the output file has extension .tif. The problems I experience seems to come from trying to write to a SAGA grid (.sgrd), although it used to work until today... If you have any piece of information

Re: [R-sig-Geo] writeRaster and raster give same error after package update

2013-11-19 Thread Robert J. Hijmans
Guillaume, It is a bug in the latest version of raster. IYou should be able to install a corrected version 2.1-68 from R-Forge in a couple of hours: install.packages(raster, repos=http://R-Forge.R-project.org;) I will also send this to CRAN soon. Thanks for reporting this. Robert On Tue, Nov

Re: [R-sig-Geo] writeRaster and raster give same error after package update

2013-11-19 Thread Guillaume Drolet
Robert: thanks! That's a great news! Can't wait to install the fixed version and continue my work. Guillaume -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/writeRaster-and-raster-give-same-error-after-package-update-tp7585138p7585141.html Sent from the R-sig-geo