Learn R Programming

PubChemR (version 3.0.0)

pc_config: Configure PubChemR Next-Gen API Defaults

Description

Reads or updates global defaults used by the next-generation PubChemR transport helpers (timeouts, retries, cache settings, and rate limits).

Usage

pc_config(...)

Value

A named list of active configuration values.

Arguments

...

Named configuration values to update.

Details

Call with no arguments to inspect the active configuration. Named arguments update only the provided keys and keep all other values unchanged.

Examples

Run this code
cfg <- pc_config()
names(cfg)
pc_config(rate_limit = cfg$rate_limit)$rate_limit

Run the code above in your browser using DataLab