| mem | R Documentation | 
mem_info prints the amount of RAM that is required and available to process a SpatRaster. 
free_RAM returns the amount of RAM that is available
mem_info(x, n=1, print=TRUE)
free_RAM()
| x | SpatRaster | 
| n | positive integer. The number of copies of  | 
| print | logical. print memory info? | 
free_RAM returns the amount of available RAM in kilobytes
mem_info(rast())
free_RAM()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.