Skip to content
Prev 301176 / 398503 Next

R doesn't recognize R_HOME value

On 25/07/2012 09:14, peter dalgaard wrote:
alternative locations of profile files, etc.

Well, I was being careful, and the following may be too technical for 
R-help.

R's own front-ends set R_HOME for themselves, but embedded versions of R 
may well get it from somewhere else and for such uses the end-user may 
need to specify it as an environment variable in the process embedding 
R.  Alternative front-ends (e.g. RStudio) are examples of embedding and 
do need a way to find R's own installation directory (which may or may 
not be recorded in the Windows Registry on Windows).  Rgui.exe uses its 
own path to find R_HOME.