OpenML (version 1.10)

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)

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.

Value

list of current configuration variables with class “OMLConfig”.

See Also

Other config: configuration, getOMLConfig, saveOMLConfig, setOMLConfig

Examples

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

Run the code above in your browser using DataCamp Workspace