Displaying 1 result from an estimated 1 matches for "alllrasters".
Did you mean:
allrasters
2024 Apr 18
1
Import multiple tif raster
Dear community
My aim is to import multiple .tif raster files using the help here:
https://stackoverflow.com/questions/52746936/how-to-efficiently-import-multi
ple-raster-tif-files-into-r
Does anyone now about the error "subscripts out of bounds"?
I am not sure about the check with alllrasters: is list() ok or should there
be a number (the number of imported .tif files?
Kind regards
Sibylle
> library(terra)
> library(raster)
> getwd()
[1] "C:/Users/Sibylle St?ckli/Desktop"
>
> #first import all files in a single folder as a list
> rastlist <- list.file...