I am working with raster data (.tif) in R using the Raster Package, and I know how to create a raster object through
r <- raster(filename)
I am working with models with some long filenames, and so having to type out the filename is slowing me down. e.g.
filename <- "wc2.1_2.5m_bioc_CNRM-CM6-1_ssp245_2041-2060.tif"
Is there a way to create a raster object using my windows browser, or a simpler way to create raster objects, when I have multiple filenames with unwieldy names?