title: Make Rstudio works with custom compiled R on Ubuntu
body: <p>I instlled R 2.14 with R Commander via Ubuntu Software Center at first.</p>
  
  <p>And then I installed Rstudio and it worked fine with R 2.14.</p>
  
  <p>After a while, I wanted to use R 2.15 but failed compiling the R 2.15 source code. </p>
  
  <p>Therefore, I tried "sudo apt-get build-dep r-base".
  After that I compiled R 2.15 successfully, and installed R 2.15.</p>
  
  <p>But, now Rstudio keeps reporting 
  "R shared library (/usr/local/lib/R/lib/libR.so) not found. If this is a custom build of R, was it built with the --enable-R-shlib option?"</p>
  
  <p>It seems that I should reinstall R 2.15 with option --enable-R-shlib.</p>
  
  <p>But the problem is that how can I unstall R 2.15?</p>
  
  <p>I tried "sudo apt-get autoremove r-base", but R 2.15 still works on my Ubuntu.</p>
  
  <p>Any ideas on how I can make Rstudio works with custom compiled R?</p>
  
  <p>Thanks,</p>