Hello, By default, the home directory of R is "/usr/lib/R" in Ubuntu. Everything works fine.
However, when I installed Jupyter notebook and the R kernel with anaconda2, it seems the R home directory is changed to some directory in anaconda2. This messes up compilation and linking. I wonder how I change the R home directory back to the default directory. I tried to set R_HOME directly, When I start R, I see a warning message: WARNING: ignoring environment value of R_HOME I don't understand why R wants to ignore the environment value. Of course, the R home directory isn't changed. > R.home() [1] "/home/zhengda/anaconda2/lib/R" What is the right way of changing the R home directory? Thanks, Da ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.