

I'm a bit behind, so I'll do an update after I post this. I'm not sure if this is an R or R Studio problem After I click on it, the install fails, then it says I need to restart R.

Namespace ‘rlang’ 0.3.0.1 is already loaded, but >= 0.3.1 is requiredĮrror: package ‘ggplot2’ could not be loadedĪ third problem that occurs, is when I tried to install 'rlang' (without first uninstalling it), I get a message that R needs to be restarted with a restart button. I should mention the whole thing started with loading another library, which in turn, try to load ggplot2: > library(Hmisc) # for minor.tick() used in plotting Įrror: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc. It did occur to me to uninstall and reinstall, which I did. I tried installing it: > install.packages("rlang")Įrror in install.packages : Updating loaded packagesĪ) when I did this with a list, the error message failed to tell me which package(s) out of the list failed.ī) The error message is too vague, I wasn't sure what was wrong or how to fix it. If your requested package contains compiled code, you will need to have an R development environment installed.

Older versions of packages on CRAN are usually only available in source form.

At some point, I got an error with 'rlang'. A common setup would be to first search the official release repo, then the dev snapshot repo, then a public CRAN mirror. Tidy eval, a programmable data-masking framework used in tidyverse packages like dplyr and ggplot2.I was trying to update my libraries. By contributing to this project, you agree to abide by its terms. Two comprehensive frameworks are implemented in rlang. install.packages('rlang') Or install the development version from GitHub with: install.packages('pak')pak::pkginstall('r-lib/rlang') Code of Conduct Please note that the rlang project is released with a Contributor Code of Conduct. Rlang is a collection of frameworks and APIs for programming with R. If you are using Windows, check if the package you are trying to upgrade is available only as a source file.
