rstudio will not launch on Pop-OS! 19.10

Fresh install of RStudio is not working.

Steps taken:

When launching Rstudio through the terminal, I get this output:

Gtk-Message: 12:47:58.944: Failed to load module "appmenu-gtk-module"
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Received signal 6
#0 0x7f9130182a4f
#1 0x7f9130182e4b
#2 0x7f91301834ce
#3 0x7f912b5cc540
#4 0x7f912ad153eb gsignal
#5 0x7f912acf4899 abort
#6 0x7f912b67bdcc QMessageLogger::fatal()
#7 0x7f912a3e9afc QQuickWidgetPrivate::handleContextCreationFailure()
#8 0x7f912a3e9cfa QQuickWidgetPrivate::createContext()
#9 0x7f912a3ebe86 QQuickWidget::resizeEvent()
#10 0x7f913586c98d QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::resizeEvent()
#11 0x7f912c7dfea2 QWidget::event()
#12 0x7f912a3ecacb QQuickWidget::event()
#13 0x7f913586cc88 QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::event()
#14 0x7f912c7a1b3c QApplicationPrivate::notify_helper()
#15 0x7f912c7a8d30 QApplication::notify()
#16 0x7f912b868e28 QCoreApplication::notifyInternal2()
#17 0x7f912c7d863d QWidgetPrivate::sendPendingMoveAndResizeEvents()
#18 0x7f912c7dc1b3 QWidgetPrivate::show_helper()
#19 0x7f912c7df375 QWidget::setVisible()
#20 0x7f912e6b5fb6 QtWebEngineCore::WebContentsAdapter::initialize()
#21 0x7f912e6b821e QtWebEngineCore::WebContentsAdapter::load()
#22 0x7f912e6b8b50 QtWebEngineCore::WebContentsAdapter::load()
#23 0x561ac8e980ac rstudio::desktop::SessionLauncher::launchFirstSession()
#24 0x561ac8e9955b rstudio::desktop::SessionLauncher::onLaunchFirstSession()
#25 0x7f912b895801 QObject::event()
#26 0x7f912c7a1b3c QApplicationPrivate::notify_helper()
#27 0x7f912c7a8d30 QApplication::notify()
#28 0x7f912b868e28 QCoreApplication::notifyInternal2()
#29 0x7f912b86b857 QCoreApplicationPrivate::sendPostedEvents()
#30 0x7f912b8c0bb3 postEventSourceDispatch()
#31 0x7f912734084d g_main_context_dispatch
#32 0x7f9127340ad0
#33 0x7f9127340b73 g_main_context_iteration
#34 0x7f912b8c01ef QEventDispatcherGlib::processEvents()
#35 0x7f912b86778a QEventLoop::exec()
#36 0x7f912b870190 QCoreApplication::exec()
#37 0x561ac8e57a0f main
#38 0x7f912acf61e3 __libc_start_main
#39 0x561ac8e5ad8a _start
r8: 0000000000000000 r9: 00007ffdba90b430 r10: 0000000000000008 r11: 0000000000000246
r12: 00007ffdba90b760 r13: 0000561acae50f50 r14: 0000561acae50f50 r15: 00007ffdba90bcd0
di: 0000000000000002 si: 00007ffdba90b430 bp: 0000561acae50f50 bx: 00007f9126eed140
dx: 0000000000000000 ax: 0000000000000000 cx: 00007f912ad153eb sp: 00007ffdba90b430
ip: 00007f912ad153eb efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

Hi, and welcome!

I'm on POP-OS! 19.10, too.

Here's what I recommend:

  1. Uninstall Microsoft-R-open
  2. Install the official R from CRAN
sudo apt-get update
sudo apt-get install r-base