To modify the .Renviron
file:
For a persistent setting, add the following line to
.Renviron
, replacing "<APIKEY>"
with
your actual HuggingFace API key:
Save the file and restart your R session for the changes to take effect.
Caution: Remember to include .Renviron
in your .gitignore
file to prevent exposing your API key,
especially if using version control systems like GitHub or GitLab.