I think this behavior is incorrect as R depends on R_HOME internally. What R.Net should be doing is looking for R_HOME and then building rPath from that. This way both R and R.Net's library loading are in sync.
One of the issues with the current approach is that R.Net will not correctly use a private build (ie: one not installed via the Windows installer) without overriding the R.Net behavior.
Overriding the behavior is unnecessary if the logic were fixed to favor R_HOME over the installer value.
One of the issues with the current approach is that R.Net will not correctly use a private build (ie: one not installed via the Windows installer) without overriding the R.Net behavior.
Overriding the behavior is unnecessary if the logic were fixed to favor R_HOME over the installer value.