Search code examples
linuxpackageyumdowngrade

How to downgrade R version from 3.5 to 3.4 in Linux?


Recently I upgraded R version from my linux box. It upgraded from 3.3 to 3.5, but as per the requirement I need to downgrade it to R version 3.4.2. I tried yum downgrade R but it is not working. Any help on this ?


Solution

  • Somehow our team managed to find a workaround for this problem. Instead of downgrading the current version of R(3.5), we decided to install R(3.4.2) and keep both the versions. I followed this document on the same :-

    https://support.rstudio.com/hc/en-us/articles/218004217-Building-R-from-source

    It helps and now my default R library has been set to 3.4.2 which solves my problem.