# CAREFUL: Changes your OpenAI API key in your OS keyring
if (FALSE) {
set_key("sk-my-api-key") # sets the key directly (will show in .Rhistory)
set_key() # opens a system popup for secure entry
}
Run the code above in your browser using DataLab