loadOMLConfig: Load OpenML configuration.

Description Usage Arguments Value See Also Examples

View source: R/loadOMLConfig.R

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

1
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

1
2
3
4
5
# # if assign = FALSE nothing is changed
# # usually one would want assign = TRUE
# \dontrun{
#   loadOMLConfig(assign = FALSE)
# }

openml/openml-r documentation built on May 24, 2019, 2:32 p.m.