If you have root access then maybe try /root/.profile. I think RStudio is running as root and so it won't source your .bashrc.
If you have root access then maybe try /root/.profile. I think RStudio is running as root and so it won't source your .bashrc.