Compile an older R version and switch between versions in Ubuntu and RStudio -


I have made switches from Windows to Ubuntu in windows with tools in Rstudio IDE -> Global Option -> R version There was a possibility to change the R Version

It is not possible in Ubuntu in the same way, in fact the R version menu does not appear in the Ubuntu version of RStudio (Why ??) Do you have different R in Ubuntu - A good solution to switch between different, pre-installed versions Can help me Ojne?

Switch packages between different versions are important to satisfying package packages and old script work. I apologize, was not a great question, but more so: "Please help me, I'm desperate, I have loosened all my windows margins! " ;)

So if anyone like me wants to switch from Ubuntu to Windows, then how can it be that you compile old R version and using versions using Ristudio You can switch between as already @Andree has commented here, there is some information, though not complete.

You have already made the R version available by Ubuntu Software Center or recent version, but do you need an older version to run an old key script?

First you need to compile the desired RV version from the source. In R update for a new version in Ubuntu, you are left with only one version (updated) and two of the old and not new like the victory.

We go to the shell and you just need to create from the source

  pseudo-at-build build-depth r-base  

To install all the libraries you will need to compile. (See also here)

  1. Download the version you need on cron / bin / linux / ubuntu / MyUbuntu (trustworthy, accurate, clear) Whatever collection you need is something It is like this:
        1. P> Then (in shell) unpacked archive Enter the top directory of

          Then you can read the INSTALL file, and run configure with - Enable- R-shlib option (Otherwise you can run it once in Rastio for NO Will not be able to fade)

            ./configure - enabled-R-shlib & amp;  

          then follow the install file

            check to make the pdf info  

          if everything was okay , You can tell R Studio where it is necessary that the bin / r file is found

            export RSTUDIO_WHICH_R = myPahtTo / bin / R  

          And fire rstudio

            rstudio  

          You have a RStudio version running the desired RV version when you close the terminal and the Rostio session allows you to run the system On the default version of Will come back. Then when you want, repeat just two lines to come back.


Comments