Re: [R-SIG-Mac] Problem R-4.0 beta and Rmpfr (pre-release)

2020-04-16 Thread Simon Urbanek
Berend, I have compiled gmp on an older machine (2008 MacPro) - in fact the same that we used until 4.0.0. Apparently there are some new instruction on more recent CPUs that gmp leverages if it finds them. Oddly, I could not find any good info on this so it's hard to pin-point the difference or

Re: [R-SIG-Mac] Problem R-4.0 beta and Rmpfr (pre-release)

2020-04-16 Thread Berend Hasselman
Simon, The issue has gone away. Hurrah! But what actually was the problem and how did you solve it? regards and many thanks, Berend > On 16 Apr 2020, at 15:26, Simon Urbanek wrote: > > Thanks, please re-install Rmpfr and gmp from the Mac master mirror: > > install.packages(c("gmp","Rmpfr")

Re: [R-SIG-Mac] Problem R-4.0 beta and Rmpfr (pre-release)

2020-04-16 Thread Simon Urbanek
Thanks, please re-install Rmpfr and gmp from the Mac master mirror: install.packages(c("gmp","Rmpfr"),repos="https://mac.R-project.org";) and let me know if the issue goes away. Thanks, Simon > On 16/04/2020, at 7:21 PM, carsten.dorm...@biom.uni-freiburg.de wrote: > > Can confirm problem: >

Re: [R-SIG-Mac] Problem R-4.0 beta and Rmpfr (pre-release)

2020-04-16 Thread carsten . dormann
Here is mine: Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro11,1 Processor Name: Intel Core i7 Processor Speed: 2,8 GHz Number of Processors: 1 Total Number of Cores: 2 L2 Cache (per Core): 256 KB L3 Cache: 4 MB H

Re: [R-SIG-Mac] Problem R-4.0 beta and Rmpfr (pre-release)

2020-04-16 Thread Berend Hasselman
> On 16 Apr 2020, at 10:38, Simon Urbanek wrote: > > Carsten and Berend, > > It means your CPU doesn't support the instructions used, so your Mac is > likely older. Can you, please, post the output of > > system_profiler SPHardwareDataType > Here is the output Model Name: Mac mini

Re: [R-SIG-Mac] Problem R-4.0 beta and Rmpfr (pre-release)

2020-04-16 Thread peter dalgaard
This one seems happy (not too surprising, I guess) Hardware Overview: Model Name: MacBook Air Model Identifier: MacBookAir8,2 Processor Name: Intel Core i5 Processor Speed: 1,6 GHz Number of Processors: 1 Total Number of Cores: 2 L2 Cache (per Core):

Re: [R-SIG-Mac] Problem R-4.0 beta and Rmpfr (pre-release)

2020-04-16 Thread Simon Urbanek
... I should add you can remove the serial number from the output, I need mainly the Processor and Model lines so something like: Model Name: Mac mini Model Identifier: Macmini8,1 Processor Name: 6-Core Intel Core i5 Processor Speed: 3 GHz Number of Processors: 1

Re: [R-SIG-Mac] Problem R-4.0 beta and Rmpfr (pre-release)

2020-04-16 Thread Simon Urbanek
Carsten and Berend, It means your CPU doesn't support the instructions used, so your Mac is likely older. Can you, please, post the output of system_profiler SPHardwareDataType Thanks, Simon > On 16/04/2020, at 7:21 PM, carsten.dorm...@biom.uni-freiburg.de wrote: > > Can confirm problem: >

Re: [R-SIG-Mac] Problem R-4.0 beta and Rmpfr (pre-release)

2020-04-16 Thread carsten . dormann
Can confirm problem: > dpois(mpfr(x, 120), 1000) *** caught illegal operation *** address 0x1116f7c42, cause 'illegal opcode' Traceback: 1: .class1(object) 2: as(value, dataClass) 3: setDataPart(x, .Call(Math_mpfr, x, .Math.codes[[.Generic]])) 4: exp(-lambda) 5: exp(-lambda) 6: dpois(mpfr

Re: [R-SIG-Mac] Problem R-4.0 beta and Rmpfr (pre-release)

2020-04-16 Thread Patrick Schratz
Works just fine for me on 10.15.4 and r78227. You might want to check your compiler setup against the recommended toolchain and reinstall all packages for R 4.0. ``` r library(gmp) #> #> Attaching package: 'gmp' #> The following objects are masked from 'package:base': #> #> %*%, apply, crossprod