[R-sig-Geo] raster writing saga grids.
Robert J. Hijmans
r.hijmans at gmail.com
Thu Jan 9 07:50:51 CET 2014
Chuck,
Thanks for reporting this. Annoying how this bug has been persistent.
I believe it is gone now in version 2.2-7. Should be available for
testing from R-Forge in a couple of hours.
Robert
On Wed, Jan 8, 2014 at 4:38 PM, Chuck Bulmer <cebulmer at telus.net> wrote:
> Apologies.
>
> I just noticed in my previous post I was actually running raster v 2.1-66.
>
> But I have tried again and get the same trouble with v 2.2-5 and with 2.2-6,
> though the error message is formatted slightly differently
>
>> writeRaster(one_habc_b,filename=paste(dir_name,"\\ED_data\\grids\\one_HABC_b.sdat",sep=""),format="SAGA",overwrite=TRUE)
> Error in if (is.na(crs)) { : argument is of length zero
> In addition: Warning message:
> In is.na(crs) : is.na() applied to non-(list or vector) of type 'NULL'
>
> Sorry for the confusion, but I'm still stumped..
>
> Thanks for any help you can provide
>
> Chuck
>
>
>
> --
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/raster-writing-saga-grids-tp7585506p7585507.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
More information about the R-sig-Geo
mailing list