Re: [R] mpfr function in Rmpfr crashes R

2021-03-07 Thread Duncan Murdoch
It works for me, on a slightly different system than yours: > Rmpfr::mpfr(pi, 120) 1 'mpfr' number of precision 120 bits [1] 3.1415926535897931159979634685441851616 > sessionInfo() R version 4.0.3 Patched (2021-01-30 r79912) Platform: x86_64-apple-darwin17.0 (64-bit) Running under: macOS Catal

Re: [R] mpfr function in Rmpfr crashes R

2021-03-07 Thread John Fox
Dear Roger, This works perfectly fine for me on an apparently similar system, with the exceptions that I'm running R 4.0.4, have many fewer packages loaded, and am in a slightly different locale: --- snip > Rmpfr::mpfr(pi, 120) 1 'mpfr' number of precision 120 bit

[R] mpfr function in Rmpfr crashes R

2021-03-07 Thread Roger Bos
All, The following code crashes by R on my mac with a message "R session aborted. A fatal error occured". ``` library(Rmpfr) Rmpfr::mpfr(pi, 120) ``` Does anyone have any suggestions? My session info is below: R version 4.0.3 (2020-10-10) Platform: x86_64-apple-darwin17.0 (64-bit) Running un