Re: [R-SIG-Mac] Apple Silicon aka M1 Macs
Prof. Ripley, Thanks for these updates and for the efforts by all involved in this process. I am holding off on moving to the M1 based Macs until next year, as besides waiting for a larger display variant, as I am also waiting on updates to other applications that will support that hardware in time. You reference XQuartz below, and unless I am mis-reading the tea leaves, there seems to be an indication in their list archives that there is no plan to update their binary release to support the new hardware. That release has not been updated since 2016. They seem to be suggesting a dependence upon MacPorts moving forward, possibly HomeBrew, for installing a native XQuartz on the new hardware. Either scenario introduces other issues idiosyncratic to those environments. Not sure if that influences any decisions here, and presume that you may already be aware of those dynamics. Regards, Marc Schwartz > On Nov 17, 2020, at 9:57 AM, Prof Brian Ripley wrote: > > Mine (a 8GB MBA) arrived today, so I have started doing some comparisons. > > For the CRAN build of R 4.0.3, §2.8 of R-admin recommends checking the > installation with > > pdf("tests.pdf") ## optional, but prevents flashing graphics windows > Sys.setenv(LC_COLLATE = "C", LC_TIME = "C", LANGUAGE = "en") > tools::testInstalledBasic("both") > tools::testInstalledPackages(scope = "base") > tools::testInstalledPackages(scope = "recommended") > > That took 454s (using Rosetta) against 895s for my late-2016 MBP (2.9GHz i5): > happily nothing untoward was reported (some recommended packages give > differences from reference output on both systems). > > You need to install XQuartz to provide the X11() devices and support for > package Tcl/Tk: everything I tried using that worked as expected. > > Having done that post-installation check I would happily use the Intel R on > an M1 machine. > > We plan to check many of the Intel-compiled packages under Rosetta. > > There are many hours of work ahead to build/test a native toolchain: our goal > is to have a native distribution for R 4.1.0 ca April 2021. > > -- > Brian D. Ripley, rip...@stats.ox.ac.uk > Emeritus Professor of Applied Statistics, University of Oxford ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Apple Silicon aka M1 Macs
One thing that I noticed both on Silicon and the intel macs at GitHub Actions, is that the CRAN installer does not create the symlinks in `/usr/local/bin`. Probably some permission or entitlement issue. So you'll probably want to create them manually. E.g. on GHA it goes like this: https://github.com/r-lib/ps/blob/a24f2c4d1bdba63be14e7729b9ab81d0ed9f719e/.github/workflows/R-CMD-check.yaml#L42-L45 G. On Tue, Nov 17, 2020 at 3:15 PM Roy Mendelssohn - NOAA Federal via R-SIG-Mac wrote: > > Thank to all who are working on this. Looks like a lot of work. Also looks > like when and if R can run in native mode on the M1 it will be very fast. > > -Roy > > > > On Nov 17, 2020, at 6:57 AM, Prof Brian Ripley > > wrote: > > > > Mine (a 8GB MBA) arrived today, so I have started doing some comparisons. > > > > For the CRAN build of R 4.0.3, §2.8 of R-admin recommends checking the > > installation with > > > > pdf("tests.pdf") ## optional, but prevents flashing graphics windows > > Sys.setenv(LC_COLLATE = "C", LC_TIME = "C", LANGUAGE = "en") > > tools::testInstalledBasic("both") > > tools::testInstalledPackages(scope = "base") > > tools::testInstalledPackages(scope = "recommended") > > > > That took 454s (using Rosetta) against 895s for my late-2016 MBP (2.9GHz > > i5): happily nothing untoward was reported (some recommended packages give > > differences from reference output on both systems). > > > > You need to install XQuartz to provide the X11() devices and support for > > package Tcl/Tk: everything I tried using that worked as expected. > > > > Having done that post-installation check I would happily use the Intel R on > > an M1 machine. > > > > We plan to check many of the Intel-compiled packages under Rosetta. > > > > There are many hours of work ahead to build/test a native toolchain: our > > goal is to have a native distribution for R 4.1.0 ca April 2021. > > > > -- > > Brian D. Ripley, rip...@stats.ox.ac.uk > > Emeritus Professor of Applied Statistics, University of Oxford > > > > ___ > > R-SIG-Mac mailing list > > R-SIG-Mac@r-project.org > > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > ** > "The contents of this message do not reflect any position of the U.S. > Government or NOAA." > ** > Roy Mendelssohn > Supervisory Operations Research Analyst > NOAA/NMFS > Environmental Research Division > Southwest Fisheries Science Center > ***Note new street address*** > 110 McAllister Way > Santa Cruz, CA 95060 > Phone: (831)-420-3666 > Fax: (831) 420-3980 > e-mail: roy.mendelss...@noaa.gov www: https://www.pfeg.noaa.gov/ > > "Old age and treachery will overcome youth and skill." > "From those who have been given much, much will be expected" > "the arc of the moral universe is long, but it bends toward justice" -MLK Jr. > > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Apple Silicon aka M1 Macs
Thank to all who are working on this. Looks like a lot of work. Also looks like when and if R can run in native mode on the M1 it will be very fast. -Roy > On Nov 17, 2020, at 6:57 AM, Prof Brian Ripley wrote: > > Mine (a 8GB MBA) arrived today, so I have started doing some comparisons. > > For the CRAN build of R 4.0.3, §2.8 of R-admin recommends checking the > installation with > > pdf("tests.pdf") ## optional, but prevents flashing graphics windows > Sys.setenv(LC_COLLATE = "C", LC_TIME = "C", LANGUAGE = "en") > tools::testInstalledBasic("both") > tools::testInstalledPackages(scope = "base") > tools::testInstalledPackages(scope = "recommended") > > That took 454s (using Rosetta) against 895s for my late-2016 MBP (2.9GHz i5): > happily nothing untoward was reported (some recommended packages give > differences from reference output on both systems). > > You need to install XQuartz to provide the X11() devices and support for > package Tcl/Tk: everything I tried using that worked as expected. > > Having done that post-installation check I would happily use the Intel R on > an M1 machine. > > We plan to check many of the Intel-compiled packages under Rosetta. > > There are many hours of work ahead to build/test a native toolchain: our goal > is to have a native distribution for R 4.1.0 ca April 2021. > > -- > Brian D. Ripley, rip...@stats.ox.ac.uk > Emeritus Professor of Applied Statistics, University of Oxford > > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac ** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center ***Note new street address*** 110 McAllister Way Santa Cruz, CA 95060 Phone: (831)-420-3666 Fax: (831) 420-3980 e-mail: roy.mendelss...@noaa.gov www: https://www.pfeg.noaa.gov/ "Old age and treachery will overcome youth and skill." "From those who have been given much, much will be expected" "the arc of the moral universe is long, but it bends toward justice" -MLK Jr. ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
[R-SIG-Mac] Apple Silicon aka M1 Macs
Mine (a 8GB MBA) arrived today, so I have started doing some comparisons. For the CRAN build of R 4.0.3, §2.8 of R-admin recommends checking the installation with pdf("tests.pdf") ## optional, but prevents flashing graphics windows Sys.setenv(LC_COLLATE = "C", LC_TIME = "C", LANGUAGE = "en") tools::testInstalledBasic("both") tools::testInstalledPackages(scope = "base") tools::testInstalledPackages(scope = "recommended") That took 454s (using Rosetta) against 895s for my late-2016 MBP (2.9GHz i5): happily nothing untoward was reported (some recommended packages give differences from reference output on both systems). You need to install XQuartz to provide the X11() devices and support for package Tcl/Tk: everything I tried using that worked as expected. Having done that post-installation check I would happily use the Intel R on an M1 machine. We plan to check many of the Intel-compiled packages under Rosetta. There are many hours of work ahead to build/test a native toolchain: our goal is to have a native distribution for R 4.1.0 ca April 2021. -- Brian D. Ripley, rip...@stats.ox.ac.uk Emeritus Professor of Applied Statistics, University of Oxford ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
[R-SIG-Mac] (no subject)
D [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac