## Not run: ------------------------------------
# # First store a password in Keychain
# # now return the password above to the R environment
# x <- decrypt_kc_pw("label")
#
# # function is best used in a connection string command:
# ch <- odbcConnect("some dsn", uid = "user1", pwd = decrypt_kc_pw("mydb_myuser"))
## ---------------------------------------------
Run the code above in your browser using DataLab