search for: process_user_renviron

Displaying 1 result from an estimated 1 matches for "process_user_renviron".

2020 Sep 03
2
Rgui never processes ~/.Renviron
..., so we have to work harder */ s = getenv("R_USER"); if(!s) s = getenv("HOME"); if(!s) return; snprintf(buf, 1024, "%s/.Renviron", s); s = buf; } #endif I think it happens because neither R_USER nor HOME is set when the Rgui startup process calls process_user_Renviron(). WORKAROUND: Setting R_USER or HOME prior to calling Rgui will cause Rgui to process ~/.Renviron, e.g. C:\User\alice> set R_USER=%UserProfile%\Documents C:\User\alice> Rgui The background for finding this is R-help thread '[R] tempdir() does not respect TMPDIR' on 2020-08-29 (htt...