Bert Gunter
2022-Mar-24 00:52 UTC
[R] help with installing R packages on Mac : these packages are downloaded but not compiled
Mac specific issues generally belong on the R-sig-mac list, not here(I of course don't know whether this is Mac specific or not. Folks on the Mac list presumably would). Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Mar 23, 2022 at 5:41 PM Bogdan Tanasa <tanasa at gmail.com> wrote:> > Dear all, > > I would appreciate to have your prompt help please on the following issue : > > I am the process of installing R and R packages on MacOS Monterrey. > > The packages are downloaded but not compiled and are not installed, as > shown below. > > I would appreciate any help that you can offer please. Thank you. > > > install.packages("tidyverse", dependencies=T) > Installing package into > ?/Users/btanasa/Library/R/x86_64/4.1/library?(as ?lib? is unspecified) > trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.1/tidyverse_1.3.1.tgz' > Content type 'application/x-gzip' length 421072 bytes (411 > KB)=================================================> downloaded 411 KB > > > The downloaded binary packages are in > /var/folders/j1/vfxkcdz51l945jpfb2vplcsw47dvp9/T//RtmpYudPdW/downloaded_packages> > > > library("tidyverse") > Error: package or namespace load failed for ?tidyverse?: > .onLoad failed in loadNamespace() for 'broom', details: > call: loadNamespace(x) > error: there is no package called ?backports? > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.
Jeff Newmiller
2022-Mar-24 01:41 UTC
[R] help with installing R packages on Mac : these packages are downloaded but not compiled
Tidyverse has dozens of dependencies... and when a dependency fails to install then you often need to install it explicitly... the automatic dependency algorithm doesn't seem to work robustly. Carefully read your error messages... it looks like you should start by installing backports. On March 23, 2022 5:52:29 PM PDT, Bert Gunter <bgunter.4567 at gmail.com> wrote:>Mac specific issues generally belong on the R-sig-mac list, not here(I >of course don't know whether this is Mac specific or not. Folks on the >Mac list presumably would). > > >Bert Gunter > >"The trouble with having an open mind is that people keep coming along >and sticking things into it." >-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > >On Wed, Mar 23, 2022 at 5:41 PM Bogdan Tanasa <tanasa at gmail.com> wrote: >> >> Dear all, >> >> I would appreciate to have your prompt help please on the following issue : >> >> I am the process of installing R and R packages on MacOS Monterrey. >> >> The packages are downloaded but not compiled and are not installed, as >> shown below. >> >> I would appreciate any help that you can offer please. Thank you. >> >> > install.packages("tidyverse", dependencies=T) >> Installing package into >> ?/Users/btanasa/Library/R/x86_64/4.1/library?(as ?lib? is unspecified) >> trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.1/tidyverse_1.3.1.tgz' >> Content type 'application/x-gzip' length 421072 bytes (411 >> KB)=================================================>> downloaded 411 KB >> >> >> The downloaded binary packages are in >> /var/folders/j1/vfxkcdz51l945jpfb2vplcsw47dvp9/T//RtmpYudPdW/downloaded_packages> >> > > library("tidyverse") >> Error: package or namespace load failed for ?tidyverse?: >> .onLoad failed in loadNamespace() for 'broom', details: >> call: loadNamespace(x) >> error: there is no package called ?backports? >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> 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. > >______________________________________________ >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.-- Sent from my phone. Please excuse my brevity.