Usage
canProcessInMemory(raster, n=4)
closeConnection(raster)
openConnection(raster, silent=FALSE)
pbCreate(nsteps, type, style=3)
pbStep(pb, step=NULL, label='step')
pbClose(pb, timer)
Arguments
raster
a RasterLayer object
n
the number of copies of a RasterLayer object with values that a function needs to store in memory
silent
Logical. passed on to GDAL.open
nsteps
Integer. Number of steps the progress bar will make from start to end (e.g. nrow(raster))
type
Character. 'text', 'window', or ''
pb
a progress bar object created with pbCreate
step
which step is this ( 1 <= step="" <="nsteps" ).="" if="" is="" NULL, a single step is taken=>
label
label for the non-text progress bars
timer
Logical. If TRUE
, time to completion will be printed. If missing, the value will be taken from the rasterOptions