Re: [R] [External] Re: mpfr function in Rmpfr crashes R

2021-03-07 Thread Roger Bos
Richard, Yes, I am on an M1, sorry I didn't mention it. Sounds like I just have to wait a bit until the problem is fixed in Rosetta2 (whatever that is). Thanks for bringing this to my attention. Roger On Sun, Mar 7, 2021 at 1:33 PM Richard M. Heiberger wrote: > this is probably a Mac M1. > T

Re: [R] [External] Re: mpfr function in Rmpfr crashes R

2021-03-07 Thread Richard M. Heiberger
this is probably a Mac M1. The problem and potential solution is described here: https://stat.ethz.ch/pipermail/r-sig-mac/2021-February/014003.html From: R-help on behalf of Duncan Murdoch Sent: Sunday, March 7, 2021 13:03 To: Roger Bos; r-help@r-projec

Re: [R] Package to generate moon phase - SR-SS

2021-03-07 Thread Duncan Murdoch
For me too: suncalc is the package. Duncan Murdoc On 07/03/2021 10:37 a.m., Jeff Newmiller wrote: Odd.. came right up for me. Perhaps you might find rseek.org easier to use? On March 7, 2021 5:03:20 AM PST, Neotropical bat risk assessments and acoustic tools wrote: Hi all I have not found

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] Package to generate moon phase - SR-SS

2021-03-07 Thread Jeff Newmiller
Odd.. came right up for me. Perhaps you might find rseek.org easier to use? On March 7, 2021 5:03:20 AM PST, Neotropical bat risk assessments and acoustic tools wrote: >Hi all > >I have not found a package by Googling, but assume there must be at >least one out there. >I need to generate/write

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] Package to generate moon phase - SR-SS

2021-03-07 Thread Neotropical bat risk assessments and acoustic tools
Hi all I have not found a package by Googling, but assume there must be at least one out there. I need to generate/write sun rise-sun set times (civil twilight) and moon phase/illumination. I would like to add a start date and end date along with location coordinates and have a table generat

[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