Hey folks - I'm having a problem with my .Renviron file. I have scripts that reference environment variables for passwords that work fine on my laptop but do not work on my remote desktop.
My desktop has an .Renviron file with the following:
PASSWORD = "123456789"
When I load R on my remote desktop and try to retrieve the password, this is what happens:
Sys.getenv("PASSWORD")
[1] ""
Also, when I try to the usethis package to edit the .Renviron file (usethis::edit_r_environ()), I get an "access denied" dialog box.
Any thoughts on how I can get the .Renviron file to work?
Cheers,
Jonathon