Nothing
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
To modify the .Renviron
file:
#| eval: false require(usethis) edit_r_environ()
For a persistent setting, add the following line to .Renviron
, replacing "<APIKEY>"
with your actual Google AI Studio API key:
GOOGLE_API_KEY="<APIKEY>"
Save the file and restart your R session for the changes to take effect.
Caution: Be careful not to expose .Renviron
in public repositories or version control systems to protect your API key.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.