I use Fedora Linux. After completing
install.packages("ggplot2", dependencies=TRUE)
I get these warnings, and the package did not install:
Warning messages:
1: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?curl? had non-zero exit status
2: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?openssl? had non-zero exit status
3: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?jpeg? had non-zero exit status
4: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?RcppEigen? had non-zero exit status
5: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?units? had non-zero exit status
6: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?diffobj? had non-zero exit status
7: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?httr? had non-zero exit status
8: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?latticeExtra? had non-zero exit status
9: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?s2? had non-zero exit status
10: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?interp? had non-zero exit status
11: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?rgeos? had non-zero exit status
12: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?textshaping? had non-zero exit status
13: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?covr? had non-zero exit status
14: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?pillar? had non-zero exit status
15: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?ragg? had non-zero exit status
16: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?sf? had non-zero exit status
17: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?tibble? had non-zero exit status
18: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?rematch2? had non-zero exit status
19: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?dplyr? had non-zero exit status
20: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?ggplot2? had non-zero exit status
21: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?viridis? had non-zero exit status
22: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?waldo? had non-zero exit status
23: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?Hmisc? had non-zero exit status
24: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?testthat? had non-zero exit status
25: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ?vdiffr? had non-zero exit
status> .packages("ggplot2", dependencies=TRUE)
On Mon, Apr 4, 2022 at 6:23 PM David Winsemius <dwinsemius at comcast.net>
wrote:
>
> On 4/4/22 04:39, Ebert,Timothy Aaron wrote:
> > install.packages("ggplot2")
>
>
> Depending on your OS, there might be a better chance of success with
>
>
> install.packages("ggplot2", dependencies=TRUE)
>
> The Linux install process doesn't need this but the binary install on
> MacOS or Windows may need this to prevent the sort of error message that
> was offered.
>
> --
> David
>
> > library(ggplot2)
> >
> > An alternative
> > install.packages("tidyverse")
> > library(tidyverse)
> >
> > The first only installs ggplot2. The alternative installs a bunch of
> other stuff as well.
> >
> > Tim
> >
> > -----Original Message-----
> > From: R-help <r-help-bounces at r-project.org> On Behalf Of
Richard Vickery
> > Sent: Sunday, April 3, 2022 12:49 PM
> > To: R-help at r-project.org
> > Subject: [R] ggplot2
> >
> > [External Email]
> >
> > Hi there,
> >
> > I am finally getting to some material I had problems with in
university,
> where I was introduced to R - one of those that because of time
> constraints, I had challenges figuring out, particularly because I decided
> long ago on using Fedora Linux. The book, "Understanding Statistics
Using
> R" by Andy Field et. al., says to install ggplot2 into R and the
version of
> R that the dnf command installs will neigher install this package nor
> 'scales'. The result I get is below, and I attempted installing the
> packages via the tar command, and that neither worked, and I attempted
> > library("ggplot2") and R said the package was unavailable.
What can I do
> to move forward?
> >
> > Thanks,
> >
> > Richard
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dhelp&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=7xEzNpsPEMvdQLIcBNo-VFJErGQIZfwF2ueg-0lesWT4DSOwIMyZ5deX1XUeO2R2&s=QTw5eQQCMPK5qxhL7YKJYRMJWwmPSDI4bR9Px8VJrvA&e>
> PLEASE do read the posting guide
>
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=7xEzNpsPEMvdQLIcBNo-VFJErGQIZfwF2ueg-0lesWT4DSOwIMyZ5deX1XUeO2R2&s=0kmwSZfq16L-GtPuQa5mSO8VGqauae08iBxm57dPnKI&e>
> and provide commented, minimal, self-contained, reproducible code.
> >
> > ______________________________________________
> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]