I've been having a problem in R studio that when interrupting R studio, the R session would abort. I've finally narrowed this down to when I have loaded in data from ArcGIS using the R-ArcGIS bridge. I've tried uninstalling and reinstalling "arcgisbinding" from within ArcGIS (version 188.8.131.52), uninstalling and reinstalling Rstudio (v 1.4.1106), and switching from R version 4.0.4 to Microsoft R open v. 4.0.2 but none of these have resolved the issue. If I have loaded data using arc.open and arc.select, and later use the "stop" button, I get a pop up saying "R Session Aborted" and have to start over.
The R session log then shows this exception:
30 Apr 2021 14:16:40 [rsession-Cheryl] ERROR CLIENT EXCEPTION (rsession-Cheryl): (TypeError) : Cannot read property 'L' of null;
User-Agent: Mozilla/5.0 (Windows NT 10.0 Win64 x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36
One strange thing is that if I remove the data loaded in using arc.open and arc.select, the error still occurs.
I can come up with a workaround to export the data I need to files and load these in a new instance of R using fread rather than the ArcGIS tools, but this is a bit clunky and likely misses out on some of the functionality of using the GIS data directly. Any other suggestions would be appreciated, even if just a smoother workaround.