Rstudio 1.1.423 crashes with Rmarkdown notebooks


#1

Hello,

I have recently started using Rmarkdown notebooks for a quite large projects and now Rstudio keeps crashing "Unable to establish connection with R studio".
In the log the message I get is:

20 Apr 2018 16:12:37 [rsession-gregoireleleu] CLIENT EXCEPTION (rsession-gregoireleleu): (TypeError) : null is not an object (evaluating 'this.b.a');|||org/rstudio/studio/client/workbench/views/source/editors/text/ChunkPlotPage.java#52::execute|||org/rstudio/studio/client/workbench/views/source/editors/text/ChunkPlotWidget.java#49::onBrowserEvent|||com/google/gwt/user/client/DOM.java#1414::dispatchEvent|||com/google/gwt/user/client/impl/DOMImplStandard.java#312::dispatchEvent|||com/google/gwt/user/client/impl/DOMImplStandard.java#334::dispatchUnhandledEvent|||com/google/gwt/core/client/impl/Impl.java#244::apply|||com/google/gwt/core/client/impl/Impl.java#283::entry0|||http://127.0.0.1:39434/#-1::anonymous|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko)

or

20 Apr 2018 16:11:42 [rsession-gregoireleleu] CLIENT EXCEPTION (rsession-gregoireleleu): (TypeError) : null is not an object (evaluating 'a.document');|||org/rstudio/core/client/dom/WindowEx.java#138::getDocument|||org/rstudio/core/client/widget/DynamicIFrame.java#95::getDocument|||org/rstudio/studio/client/workbench/views/source/editors/text/ChunkOutputFrame.java#97::run|||com/google/gwt/user/client/Timer.java#124::fire|||http://127.0.0.1:39434/#-1::anonymous|||com/google/gwt/core/client/impl/Impl.java#244::apply|||com/google/gwt/core/client/impl/Impl.java#283::entry0|||http://127.0.0.1:39434/#-1::anonymous|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko)

many times.

It's quite a large project, including geospatial analyses (hence sf loading large sf objects and outputing large leaflet maps).
I'm also using futures (future package) in the projet to asynchronuously load the data. I was wondering if that could have an impact.

Would you please let me know if someone has an idea or if I can be any help in fixing the bug?

Thanks!
Grégoire