# Connect to the datasources specified in it
config <- system.file("config", "default_config.yml", package = "connector")
cnts <- connect(config)
# Extract the datasources to a config file
yml_file <- tempfile(fileext = ".yml")
write_datasources(cnts, yml_file)
# Reconnect using the new config file
re_connect <- connect(yml_file)
re_connect
Run the code above in your browser using DataLab