tmpFiles | R Documentation |
List and optionally remove temporary files created by the terra package. These files are created when an output SpatRaster may be too large to store in memory (RAM). This can happen when no filename is provided to a function and when using functions where you cannot provide a filename.
Temporary files are automatically removed at the end of each R session that ends normally. You can use tmpFiles
to see the files in the current sessions, including those that are orphaned (not connect to a SpatRaster object any more) and from other (perhaps old) sessions, and remove all the temporary files.
tmpFiles(current=TRUE, orphan=FALSE, old=FALSE, remove=FALSE)
current |
logical. If |
orphan |
logical. If |
old |
logical. If |
remove |
logical. If |
character
terraOptions
tmpFiles()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.