I've "moved" this to
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17919 to make sure
it's tracked. /Henrik
On Thu, Sep 3, 2020 at 7:25 AM Dirk Eddelbuettel wrote:
>
>
> On 2 September 2020 at 23:38, Henrik Bengtsson wrote:
> | WORKAROUND:
> | Setting R_USER or HOME prior to calling Rgui w
On 2 September 2020 at 23:38, Henrik Bengtsson wrote:
| WORKAROUND:
| Setting R_USER or HOME prior to calling Rgui will cause Rgui to
| process ~/.Renviron, e.g.
AFAICR one _always_ had to manually set $HOME on Windows as the convention of
having it comes from the some other OSs and is not nativ
ISSUE:
It looks like Rgui.exe never processes ~/.Renviron - only ./.Renviron.
REPRODUCIBLE EXAMPLE:
On Windows, create the following ~/.Renviron and ~/.Rprofile files:
C:\Users\alice> Rscript -e "cat('FOO=123\n', file='~/.Renviron')"
C:\Users\alice> Rscript -e "cat('print(Sys.getenv(\'FOO\'))',
f