

Before you upgrade, build a temp file with all of your old packages.How do I update R without losing my packages?

If updates are available, select All (or just tidyverse), and click Install Updates. To update packages, go to Tools > Check for Package Updates. Renviron).From within RStudio, go to Help > Check for Updates to install newer version of RStudio (if available, optional). If I look for "make" in R, it finds it in the Rtools file (as I changed the. I work on PC, Windows10, now I have the current latest version of Rstudio (Version ) and Rtools40 (which is installed in C:/rtools40) Thank you for your help, this is driving me crazy Renviron as it is explained hereĪs far as I understood reading about it, now R doesn't understand where the tools are and several things are meant to be changed manually, but every explanation I find is too confusing to follow. So I installed then Rtools and created a. I updated R to the latest version, without solving anything. Install.packages(" ", repos = NULL, type="source")īut it gave me an error message saying that "make" is not found. I tried to update it by installing it from the root, I tried to update it from "Tools/Check for Package Updates", but apparently it didn't work. The problem was that "lifecycle" needs the most updated version of "rlang" (I had 0.4.5 but it asked for 0.4.10). I tried to install ggplot2 with dependencies, and also tried to install lifecycle directly, but I didn't succeed. I tried to reinstall ggplot2 and it didn't work as it could find the package "lifecycle". After doing so, ggplot wasn't working anymore. Everything was working fine with R (as far as I know) until I tried to load the package "ggpubr".
