![]() ![]() Secondly, once I figure out what RSTudio is looking for, how do I redirect RStudio to that location? The export $RSTUDIO_WHICH_R=/usr/bin/R instruction didn't seem to work. Some people enjoy running the RStudio dailies, which are daily compilations of the latest code for RStudio. Find the latest version for your operating system, download it, install it, and it will overwrite your current version. ![]() So now I have three different R-related directories/files on my computer (that I know of), and don't know which one RStudio wants. You can update RStudio by visiting the download page on the RStudio website. It looked like it was about to put it in /usr/lib/R/site-library, but then it prompted me to create a personal library in my home directory. Which path do I give it? I tried installing an R package earlier just to see where it would end up. So I'm not exactly sure what RStudio is looking for. But then there's also a directory called R in /usr/lib. I was able to find a bash script called R in /usr/bin. Thereafter, you can install any supported packages. So I've got two questions about how to proceedįirstly, how do I find out where on my computer R (version 3.6) is stored? conda create -name r4-base After activating r4-base run these commands conda activate r4-base conda install -c conda-forge r-base conda install -c conda-forge/label/gcc7 r-base Finally, you will notice r-basa version 4 will be installed. Note that in order for RStudio to see this environment variable when launched from the Ubuntu desktop Applications menu (as opposed to from a terminal) it must be defined in the ~/.profile file.īut I didn't think this was an issue because I was launching from the terminal, not from the desktop application I tried following the instructions here ( ), although I wasn't able to do the last step I managed to update the version of R on my computer to 3.6 (when I type R -version in my terminal, I get version 3.6), but when I check the version in RStudio using the version command, it tells me it's using 3.4.3. I installed RStudio through Anaconda manager. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |