RStudio fails to start after switching to Mac with M1 chip.

I started using a new macbook air with the M1 Chip. RStudio now breaks with message: The R session process exited with code 2 .

In the recent log it reads:
11 Mar 2020 09:45:12 [rsession-joost] CLIENT EXCEPTION (rsession-joost): (TypeError) : Cannot read property 'applicable' of undefined;|||org/rstudio/studio/client/workbench/views/packages/PackagesPane.java#103::setPackageState|||org/rstudio/studio/client/workbench/views/packages/Packages.java#772::setViewPackageList|||org/rstudio/studio/client/workbench/views/packages/Packages.java#748::onPackageFilterChanged|||org/rstudio/studio/client/workbench/views/packages/PackagesPane.java#234::onValueChange|||com/google/gwt/event/logical/shared/ValueChangeEvent.java#127::dispatch|||com/google/web/bindery/event/shared/SimpleEventBus.java#173::doFire|||com/google/gwt/event/shared/HandlerManager.java#117::fireEvent|||com/google/gwt/user/client/ui/Widget.java#127::fireEvent|||com/google/gwt/user/client/ui/Widget.java#127::fireEvent|||com/google/gwt/event/logical/shared/ValueChangeEvent.java#40::fire|||org/rstudio/core/client/widget/SearchWidget.java#176::onKeyUp|||com/google/gwt/event/dom/client/KeyUpEvent.java#55::dispatch|||com/google/web/bindery/event/shared/SimpleEventBus.java#173::doFire|||com/google/gwt/event/shared/HandlerManager.java#117::fireEvent|||com/google/gwt/user/client/ui/Widget.java#127::fireEvent|||com/google/gwt/user/client/ui/Widget.java#127::fireEvent|||com/google/gwt/event/dom/client/DomEvent.java#110::fireNativeEvent|||com/google/gwt/user/client/ui/Widget.java#163::onBrowserEvent|||com/google/gwt/user/client/ui/Composite.java#78::onBrowserEvent|||com/google/gwt/user/client/DOM.java#1415::dispatchEvent|||com/google/gwt/user/client/impl/DOMImplStandard.java#312::dispatchEvent|||com/google/gwt/core/client/impl/Impl.java#236::apply|||com/google/gwt/core/client/impl/Impl.java#275::entry0|||rstudio-0.js#-1::eval|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.1 Chrome/69.0.3497.128 Safari/537.36
11 Mar 2020 09:45:13 [rsession-joost] CLIENT EXCEPTION (rsession-joost): (TypeError) : Cannot read property 'parentNode' of null;|||com/google/gwt/dom/client/DOMImpl.java#253::getParentElement|||com/google/gwt/dom/client/Node.java#189::getParentElement|||org/rstudio/core/client/widget/RStudioDataGrid.java#63::hideMacHorizontalScrollbars|||org/rstudio/core/client/widget/RStudioDataGrid.java#60::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#167::runScheduledTasks|||com/google/gwt/core/client/impl/SchedulerImpl.java#338::flushPostEventPumpCommands|||com/google/gwt/core/client/impl/SchedulerImpl.java#76::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#140::execute|||com/google/gwt/core/client/impl/Impl.java#236::apply|||com/google/gwt/core/client/impl/Impl.java#275::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 (Macintosh Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.1 Chrome/69.0.3497.128 Safari/537.36
11 Mar 2020 09:45:13 [rsession-joost] CLIENT EXCEPTION (rsession-joost): (TypeError) : Cannot read property 'parentNode' of null;|||com/google/gwt/dom/client/DOMImpl.java#253::getParentElement|||com/google/gwt/dom/client/Node.java#189::getParentElement|||org/rstudio/core/client/widget/RStudioDataGrid.java#63::hideMacHorizontalScrollbars|||org/rstudio/core/client/widget/RStudioDataGrid.java#60::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#167::runScheduledTasks|||com/google/gwt/core/client/impl/SchedulerImpl.java#338::flushPostEventPumpCommands|||com/google/gwt/core/client/impl/SchedulerImpl.java#76::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#140::execute|||com/google/gwt/core/client/impl/Impl.java#236::apply|||com/google/gwt/core/client/impl/Impl.java#275::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 (Macintosh Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.1 Chrome/69.0.3497.128 Safari/537.36

Anybody encountered something similar and overcame this?

regards
Joost

What version of RStudio are you using? What version of R?