if (FALSE) {
# Interactively at the console
login()
#> User name: "my_name"
#> User password: "my_secret"
# Programmatically with function arguments
login(userId = "my_name", userPass = "my_secret")
# Programmatically with a file containing userId and userPass arguments
login(config = paste0(tempdir(), "/config.txt"))
}
Run the code above in your browser using DataLab