Learn R Programming

fz (version 1.2.0)

reload_config: Reload Configuration from Environment Variables

Description

Re-reads all FZ_* environment variables and updates the live configuration. Useful after changing environment variables within the session.

Usage

reload_config()

Arguments

Value

NULL (invisibly). Called for side effects.

Examples

Run this code
# \donttest{
if (fz_available()) {
  Sys.setenv(FZ_MAX_WORKERS = "8")
  reload_config()
  get_config()$max_workers
}
# }

Run the code above in your browser using DataLab