OpenML (version 1.12)

loadOMLConfig: Load OpenML configuration.

Description

Loads the OpenML config file from the disk and overwrites the current OpenML config. If there is no API key in the configuration file, the key is retrieved from the environment variable “OPENMLAPIKEY” (if defined).

Usage

loadOMLConfig(path = "~/.openml/config", assign = TRUE)

Value

list of current configuration variables with class “OMLConfig”.

Arguments

path

[character(1)]
Full path location of the config file to be loaded.

assign

[logical(1)]
Use the loaded configuration as the current configuration? If set to FALSE, the configuration is just returned by the function. Default is TRUE.

See Also

Other config: configuration, getOMLConfig(), saveOMLConfig(), setOMLConfig()

Examples

Run this code
# # if assign = FALSE nothing is changed
# # usually one would want assign = TRUE
# \dontrun{
#   loadOMLConfig(assign = FALSE)
# }

Run the code above in your browser using DataLab