[R-SIG-Mac] R 4.1 for my Mac M1 crashing on installing packages

Renato Morais ren@tomor@|@@r@ujo @end|ng |rom gm@||@com
Wed May 19 14:07:42 CEST 2021


Thanks Jeroen, fixing the repo connected me with CRAN (it was defaulted to
'@CRAN@' I think)!

Cheers,
Renato

On Wed, 19 May 2021 at 21:00, Jeroen Ooms <jeroen using berkeley.edu> wrote:

> On Wed, May 19, 2021 at 11:34 AM Renato Morais
> <renatomoraisaraujo using gmail.com> wrote:
> >
> > Hi all,
> >
> > I'm new here, so please forgive my clumsy error reporting.
> >
> > I have just downloaded *R-4.1-branch.pkg* for my Mac M1, as I wanted to
> > finally enjoy a native normal-speed R (for some reason running v 4.0.5 on
> > Rosetta was extremely slow on my machine). I also installed the latest
> > XQuartz, as indicated (v 2.8.1).
> >
> > Sad story is, when I try a simple install.packages command, it first
> > appears to ignore me, after returning 'Please select a CRAN mirror for
> use
> > in this session'. if I insist, it crashes. No useful error messages.
> Trying
> > via the Package Installer tab didn't work either. It doesn't find any
> > packages, indeed it crashes if I ask it to load the list.
>
> This indeed sounds like an xQuartz issue, failing to popup the mirror
> selection menu. Does everything work if you manually set your CRAN
> mirror first, e.g:
>
>   options(repos=c(CRAN="https://cloud.r-project.org"))
>
> Alternatively you can disable the popup menus all-together using:
>
>   options(menu.graphics=FALSE)
>
> Which should probably be the default.
>


-- 

*Renato Morais | **ARC Postdoctoral Research Associate*

Research Hub for Coral Reef Ecosystem Functions

College of Science and Engineering

ARC Centre of Excellence for Coral Reef Studies

James Cook University

Townsville, Queensland, Australia

https://www.reeffunctionhub.org

http://thebellwoodreeffishlab.com



--

	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list