set_api_key | R Documentation |
RSPACE_API_KEY
environment variableSets the RSPACE_API_KEY
environment variable to the provided RSpace API key.
To create an API key go to 'Manage API Key' section of your profile page (MyRSpace -> Profile).
set_api_key(rspace_api_key)
rspace_api_key |
Your RSpace API key |
This will only set the environment variable for the current session,
to set it permanently, add RSPACE_API_KEY=<your_api_key_here>
to your .Renviron
file,
for example, using usethis::edit_r_environ()
.
A logical indicating if setting the API key succeeded
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.