I updated R studio and R to be consistent with the versions used when some scripts I was given were written. I initially discovered problems just with installing dplyr and tidyr with the updated version of R (R-3.4.2), but I am now having trouble opening many packages, even when I open Rstudio with the version of R that was previously working (R-3.3.3).
Here are some outputs I am getting related to the problem (in R-3.3.3):
>.libPaths()  "C:/Program Files/R/R-3.3.3/library"
> library(tidyr) Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘pillar’ Error: package or namespace load failed for ‘tidyr’
Additionally, when ever I try to install or update packages currently, RStudio throws a window that says "One or more of the packages that will be updated by this installation are currently loaded. Restarting R prior to updating these packages is strongly recommended. Rstudio can restart R and then automatically continue to the installation after restarting.... Do you want to restart R prior to installing?" with options "yes", "no" and "cancel". I have tried all three options for installing tidyr to no avail.
The most frustrating thing is that it seems like what is not working keeps expanding. At first it was just in R version 3.4.2, and then it was just the Hadley-verse packages, but now knitr won't load.
Thank you for any help!