Usage
setOptions(format, overwrite, datatype, tmpdir, progress, timer, chunksize,
maxmemory, todisk, setfileext)
showOptions()
saveOptions()
clearOptions()
Arguments
overwrite
Logical. The default value for overwriting existing files. If TRUE
, existing files will be overwritten
datatype
Character. The default data type to use. See dataType
tmpdir
Character. The default location for writing temporary files; See rasterTmpFile
progress
Character. Valid values are "text", "window" and "" (the default in most functions, no progress bar)
timer
Logical. If TRUE
, the time it took to complete the function is printed
chunksize
Integer. Maximum number of cells to read/write in a single chunk while processing (chunk by chunk) disk based Raster* objects
maxmemory
Integer. Maximum number of cells to read into memory. I.e., if a Raster* object has more than this number of cells, canProcessInMemory
will return FALSE
todisk
Logical. For debugging only. Default is FALSE
and should normally not be changed. If TRUE
, results are always written to disk, even if no filename is supplied (a temporary filename is used)
setfileext
Logical. Default is TRUE
. If TRUE
, the file extension will be changed when writing (if known for the file type). E.g. GTiff files will be saved with the .tif extension