Stop button causes "R session aborted" screen when using arcgisbinding

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 1.0.1.244), 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;
org/rstudio/studio/client/workbench/views/source/editors/text/AceEditor.java#4486::setScrollSpeed
org/rstudio/studio/client/workbench/views/source/editors/text/AceEditorMonitor.java#46::monitor
org/rstudio/studio/client/workbench/views/source/editors/text/AceEditorMonitor.java#70::execute
com/google/gwt/core/client/impl/SchedulerImpl.java#140::execute
com/google/gwt/core/client/impl/Impl.java#306::apply
com/google/gwt/core/client/impl/Impl.java#345::entry0
rstudio-0.js#-1::eval
com/google/gwt/cell/client/AbstractEditableCell.java#41::viewDataMap
Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e
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.

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.