Everytime I try to install ggplot2 or dplyr i get the following instructions:
There is a binary version available but the source version is later:
binary source needs_compilation
rlang 0.1.6 0.3.0.1 TRUE
Do you want to install from sources the package which needs compilation?**
y/n: y
The downloaded source packages are in
‘/private/var/folders/9f/fdmyf4655t12h4mxqzb1s6dc0000gp/T/RtmpzaOxyj/downloaded_packages’
But package is not present in the library. How can I install the ggplot2? someone else who had the same version of mac didn't have this problem.
Does the rest of the installation run successfully?
What happens when you run library(ggplot2)?
Have you checked your library path settings? It's possible that it's being downloaded somewhere that R isn't looking (though I'm not sure why that would happen for only specific packages). See the thread below for details on .libPahts().