

For environment variables to be set so that the your desktop environment knows about them, on Linux, you should put them in ~/.profile or else in /etc/pam.d (you may need to logout or shutdown after making those changes) and on OS X, you should check out I think the crux is to launch RStudio from the right environment? Your ~/.bash_profile and ~/.bashrc are only sourced when you run bash. I then closed my terminal and opened a new one (so that the correct conda environment was not activated and successfully launched RStudio with the following command: RSTUDIO_WHICH_R=/home/ray/r_3_3_1-圆4-3.5/bin/R rstudio

then force removed the R interpreter ( pacman -Rdd r), then installed r from conda ( conda install -c r r) and it worked fine. So long as which R shows up a working R interpreter (which it should do if you have installed the r package from conda and activated your environment) then launching rstudio from that same environment should pick it up just fine.įor a test, on ArchLinux, I built and installed: Unfortunately, anaconda has no tutorial for this in How to tell RStudio to use R version from Anaconda

bashrc but it still didn't work (I sourced both after I added the lines) I tried doing what this guy did and added this to my. When I looked for my R it directed me to: $ which Rīut the directions from (1) is using this path which is very confusing: /Users/jespinoz/anaconda/lib/R/bin/R (2) Launch mac eclipse with environment variables set I'm really not too familiar with environment variables and such things. I've been trying to follow these tutorials but I am lost. bash_profile not sure if this will be useful: $ cat ~/.bash_profileĮxport PATH="/Users/jespinoz/anaconda/bin:$PATH"Įxport RSTUDIO_WHICH_R=/Users/jespinoz/anaconda/bin/R How can I route my conda version of R into RStudio?

I want to use RStudio but I don't want to install another version of R. For example, when it outputs errors, it outputs to stdout and splits every character in the string with a linebreak. I ran that version of R (I only installed this version) > version My method of installing R: conda install -c r rĬonda install -channel bioconductor-edger I've been trying to set up my R using conda (eventually to use with Beaker Notebook) and I want to be able to use RStudio with my conda-installed version of R.
