Skip to content
Prev 14788 / 15075 Next

Problems with R-4.4.2 in MacOS Sequoia with Intel chip

Dear Peter and Simon 

I may have found the cause of the crashes in R-4.4.2 in the Intel MacOs environment. In R-4.4.2 for MacOS, the ?libomp.dylib? is loaded from the CRAN version. Comparing with earlier version, this is a new addition to the core R libraries. The OpenMP library is not provided in R-4.2. 

It so happens that the ?torch? package is also including the an OpenMP library (?libiomp5.dylib?) which is causing the crash. In previous R versions, this behavoir did not cause problems, since R did not provide the OpenMP library by default. 

Thus, the problem needs to be solved at the highest level of R core developers for Mac. Please bear in mind that the ?torch? package is essential for running deep learning algorithms in R. I hope you can find a solution that preserves the use of ?torch? in R. I am copying the message to Daniel Falbel, who is the maintainer of the ?torch? package.

Your support in solving this problem is highly appreciated.

Best regards
Gilberto
============================
Prof Dr Gilberto Camara
Senior Researcher
Getulio Vargas Foundation (FGV)
National Institute for Space Research (INPE), Brazil
https://gilbertocamara.org/
=============================