[R] ggplot2
Greg Minshall
m|n@h@|| @end|ng |rom um|ch@edu
Tue Apr 5 15:53:16 CEST 2022
hi, Richard,
> I get these warnings, and the package did not install:
...
> 1: In install.packages("ggplot2", dependencies = TRUE) :
> installation of package ‘curl’ had non-zero exit status
Ivan and Kimmo have both pointed out you need the right development
tools.
in terms of debugging your problem -- if the development tools are
installed, etc. -- then you might choose one of the packages that didn't
install -- `curl` in the above case, and try
> install.packages("curl")
and seeing what failed *there*. and, recursing, looking for a package
that doesn't depend on any other package, that can't be installed.
then, try to figure out the error messages.
again, in this case, things will hopefully work once you install the
compiler and other development tools.
cheers and good luck, Greg
More information about the R-help
mailing list