Rstudio crash debugging not working on Mac https://support.rstudio.com/hc/en-us/articles/200554776-RStudio-Crash-Report?u=support

I have a script that uses terra and some Rcpp code. It runs fine in Rstudio on an Ubuntu 21 linux box but crashes randomly on a Mac. It does this in Rstudio, a terminal window and R.app. I have attempted to follow the directions at https://support.rstudio.com/hc/en-us/articles/200554776-RStudio-Crash-Report?u=support but ```
open ~/Library/Logs/CrashReporter

says no such directory or file. And after running through the steps 1 through 5 there is nothing in /core directory. The Mac does generate a crash report which I would be happy to share but don't know how.. I am using a Mac with M1x Apple Silicon, R version 4.1.2, Rcpp version 1.0.8 and terra version 1.5-23, and RStudio 2021.09.0 Build 351.

In the end I moved my code to a linux box and ran valgrind there. Helped a lot to find the places where a for index was going beyond the end of variable length.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.