Save configuration to YAML file
browser_save_config.RdSaves the browser configuration to a YAML file. Internal fields (those
starting with ._) are automatically removed before saving, so the
resulting file is clean and portable.
Details
The saved configuration can be loaded later with browser_load_config
or used directly with browser_create.
Internal fields that are removed include:
._config_file: Original config file path._misha_root: Resolved misha database path._profile: Active profile name._cache_signature: Pre-computed cache signatures
See also
browser_load_config to load configuration,
browser_create_config to create configuration programmatically
Examples
if (FALSE) { # \dontrun{
# Save browser configuration
browser_save_config(browser$cfg, "my_browser.yaml")
# Modify and save
browser <- browser_add_panel(browser, name = "new_panel", tracks = "my_track")
browser_save_config(browser$cfg, "updated_config.yaml")
} # }