Estimates memory usage and sets terra::terraOptions(todisk = ...) accordingly.
Only runs if terra is installed. Called internally from terra-using functions.
Usage
pg_configure_terra_memory(config = pg_current_config())Estimates memory usage and sets terra::terraOptions(todisk = ...) accordingly.
Only runs if terra is installed. Called internally from terra-using functions.
pg_configure_terra_memory(config = pg_current_config())