I have set up an Renviron file for use, and it works perfectly when running the script in R Studio. However, if I set the script to run in a batch file, or using the command