[R-SIG-Mac] PCRE JIT compilation error

peter dalgaard pd@|gd @end|ng |rom gm@||@com
Wed Apr 1 16:26:47 CEST 2020


Yes, sorry:

> osVersion
[1] "macOS Mojave 10.14.6"


> On 1 Apr 2020, at 16:14 , Prof Brian Ripley <ripley using stats.ox.ac.uk> wrote:
> 
> It seems to depend on the OS version: there are known issues with PCRE JIT and macOS 10.15 not just with R, but not for everyone.
> 
> Similarly, installation issues of some Rcpp-using packages is only known to occur under 10.15 and not with 10.13 (which is what will be used for building binary packages and has been extensively tested there).  These should go away with the next Rcpp update, available pro tem via
> 
> install.packages("Rcpp", repos="https://rcppcore.github.io/drat")
> 
> So it really is necessary to remind people to follow the posting guide and include the output from sessionInfo() or at the very least
> 
> > osVersion
> [1] "macOS Catalina 10.15.4"
> 
> 
> On 01/04/2020 14:37, peter dalgaard wrote:
>> Yes, this has been happening to a number of people, including Simon Urbanek...
>> Oddly enough, I'm seeing nothing of the sort on my slightly different build setup:
>> clang8 + gfortran6.1 as per https://cran.r-project.org/bin/macosx/tools
>> PCRE2 from http://mac.r-project.org/libs/
>> $ cat config.site
>> prefix=$HOME/tmp
>> CC=clang
>> CXX=clang++
>> with_blas="-framework vecLib"
>> with_lapack=yes
>> x_includes=/opt/X11/include
>> x_libraries=/opt/X11/lib
>> CURL_CONFIG=/usr/bin/curl-config
>> (And no, it is not because JIT is off:
>>> options("PCRE_use_JIT")
>> $PCRE_use_JIT
>> [1] TRUE
>> )
>> -pd
>>> On 1 Apr 2020, at 13:30 , Bryan Hanson <hanson using depauw.edu> wrote:
>>> 
>>> On a fresh install of the binary from mac.r-project.org, if I simply do:
>>> 
>>> library()
>>> 
>>> I see:
>>> 
>>> R > library()
>>> There were 30 warnings (use warnings() to see them)
>>> R > warnings()
>>> Warning messages:
>>> 1: In strsplit(x, "\n[ \t\n]*\n", perl = TRUE) : PCRE JIT compilation error
>>> 	'no more memory'
>>> 2: In FUN(X[[i]], ...) : PCRE JIT compilation error
>>> 	'no more memory'
>>> 
>>> etc.  The usual window with installed packages does open.
>>> 
>>> Starting the conversation here on the Mac list, though it may be a bigger problem.
>>> 
>>> Thanks, Bryan
>>> ****************
>>> Prof. Bryan Hanson (emeritus)
>>> Dept of Chemistry & Biochemistry
>>> DePauw University
>>> Greencastle IN 46135 USA
>>> Web: academic.depauw.edu/~hanson/index.html
>>> Repo: github.com/bryanhanson
>>> Nerdy Blog: ChemoSpec.org
>>> The Twit: @ProfBryanHanson
>>> I’m usually @ -4 GMT/UTC
>>> 
>>> R > sessionInfo()
>>> R version 4.0.0 alpha (2020-03-29 r78109)
>>> Platform: x86_64-apple-darwin17.0 (64-bit)
>>> Running under: macOS Mojave 10.14.6
>>> 
>>> Matrix products: default
>>> BLAS:   /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
>>> LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
>>> 
>>> locale:
>>> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>>> 
>>> attached base packages:
>>> [1] stats     graphics  grDevices utils     datasets  methods
>>> [7] base
>>> 
>>> loaded via a namespace (and not attached):
>>> [1] compiler_4.0.0
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 	[[alternative HTML version deleted]]
>>> 
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac using r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 
> -- 
> Brian D. Ripley,                  ripley using stats.ox.ac.uk
> Emeritus Professor of Applied Statistics, University of Oxford

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes using cbs.dk  Priv: PDalgd using gmail.com



More information about the R-SIG-Mac mailing list