Rstudio-server environment variables not loading?
Note that on Windows, R looks for the .Renviron file in /Users/<name>/Documents
, while RStudio appears to expect the .Renviron file to be in /Users/<name>/
.
You should set your environment variables in Rstudio like
Sys.setenv("/path to hadoop")
and then you try this