I am trying to install ggplot2, but it doesn't work. I got these following error messages:
Error : object ‘enexprs’ is not exported by 'namespace:rlang'
ERROR: lazy loading failed for package ‘ggplot2’
removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/ggplot2’
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/j7/103vkqf91lncd7yphhm_ny2m0000gp/T/RtmphSIPsZ/downloaded_packages’
Did you have any success with any of the suggestions so far?
One thing I'm noticing is you appear to be running a fairly old version of R (3.3 — the current release is R 3.5). When running old versions of R, it can get harder and harder to install the latest versions of packages. Have you tried updating to a more recent version of R? You seem to be on Mac OS X, so see here: https://cloud.r-project.org/bin/macosx/ (Note that if you do upgrade to a newer version of R, the installer will make a new library by default and you will need to re-install your packages)