title: Pointing Conda R to already-installed version of R
body: <p>My problem has to do with the fact that RStudio and Conda are pointing to different versions of R.  My R and RStudio were installed independent of Anaconda, and everything is working great.</p>
  
  <p>In my ~/.bash_profile, RStudio points to </p>
  
  <pre><code>alias R='/Library/Frameworks/R.framework/Resources/bin/R'
  alias r='/Library/Frameworks/R.framework/Resources/bin/R'
  export PATH=/Library/Frameworks/R.framework/Resources/bin/R:$PATH
  launchctl setenv RSTUDIO_WHICH_R $RSTUDIO_WHICH_R
  </code></pre>
  
  <p>Calling R on Terminal gives me R version 3.5.3, which is what RStudio is using.
  However, conda is using R version 3.5.1, and 3.5.3 is not available on conda: </p>
  
  <pre><code>conda search
  </code></pre>
  
  <p>says 3.5.3 is not an option.  Making changes to my .bash_profile (and sourcing it) has not changed what conda reads, which is</p>
  
  <pre><code>/Users/mjk/opt/anaconda3/bin/r
  </code></pre>
  
  <p>The whole reason I'm using Anaconda is that I'm programming in Python, using Spyder, and I want to make some calls to some of my R scripts, and these are unfortunately R-version-dependent.</p>
  
  <p>What I'd really like to do is simply point conda to the already installed version of R I have (/Library/Frameworks/R.framework/Resources/bin/R), and not be dependent on it installing its own version.</p>
  
  <p>Is there a way to do this?</p>
  
  <p>Or am I better off using a stand-alone version of Spyder outside of Anaconda?</p>
  
  <p>Thank you!</p>