Re: [R-sig-Geo] Distance from not NA cells in a raster

2018-07-12 Thread Ben Tupper
Hi, You may have solved this already, but I get tripped up on the "the distance from all not NA cells in a raster". Is it the distance each NA cell is from each non-NA cell? Also, I'm wondering why you want to know the distance to ALL non-NA cells - what is your big-picture purpose for wantin

Re: [R-sig-Geo] Distance from not NA cells in a raster

2018-07-06 Thread Gregovich, Dave P (DFG)
Sorry, I forgot to include session info to associate my issue...thanks! > sessionInfo() R version 3.4.3 (2017-11-30) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 other attached packages: [1] RSAGA_1.2.0plyr_1.8.4 shapefiles_0.7 foreign_

[R-sig-Geo] Distance from not NA cells in a raster

2018-07-06 Thread Gregovich, Dave P (DFG)
Hi, I would like to obtain the distance from all not NA cells in a raster. This works for smaller rasters, but seems difficult for the size of rasters (~ 8000 pixel square) I am working with. Below is what I've tried. I would be OK calling other software from R, or using some parallelization, i