RStudio 在 Ubuntu 上崩溃

RStudio 在 Ubuntu 上崩溃

我的 RStudio 在打开文件(R 或 Rmd)时突然崩溃。

在此处输入图片描述

我收到这个奇怪的弹窗,不得不强行关闭它。这个错误还会冻结所有其他打开的应用程序,例如浏览器。

RStudio 可以正常打开。我可以在控制台中运行代码,而且可以正常工作。我可以创建一个新文件并从那里运行代码。但是,如果我尝试保存该文件,就会出现此错误。到目前为止,只有当我保存或打开 R/Rmd 文件时才会出现此错误。通过终端运行 R 也完全正常。

昨天,我的磁盘满了,空间不足,然后我就无法再保存了。从那时起,我就清理了驱动器上的空间。我的驱动器上有 35GB 的可用空间。系统已经重新启动了。

我尝试删除.rstudio-桌面目录。这没有帮助。然后我卸载并重新安装了 RStudio。这也没有帮助。有人有什么想法吗?

R version 3.5.2 (2018-12-20)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.2 LTS

RStudio Version 1.1.463 – © 2009-2018 RStudio, Inc.
Mozilla/5.0 (X11; Linux x86_64) 
AppleWebKit/538.1 (KHTML, like Gecko)
RStudio Safari/538.1 Qt/5.4.0

编辑:根据建议添加错误日志。

运行journalctl -f结果如下:

Mar 15 14:41:05 elmo systemd[1]: Starting Process error reports when automatic reporting is enabled...
Mar 15 14:41:05 elmo whoopsie-upload-all[14945]: ERROR: whoopsie is not running
Mar 15 14:41:05 elmo systemd[1]: apport-autoreport.service: Main process exited, code=exited, status=1/FAILURE
Mar 15 14:41:05 elmo systemd[1]: apport-autoreport.service: Failed with result 'exit-code'.
Mar 15 14:41:05 elmo systemd[1]: Failed to start Process error reports when automatic reporting is enabled.

从命令行运行 rstudio 并得到以下内容:

load glyph failed err=6 face=0x2372ac0, glyph=2798
load glyph failed err=6 face=0x2372ac0, glyph=2798
[1]    14976 killed     rstudio

在上述两种情况下,Rstudio 都崩溃并被终止。

答案1

我遇到了类似的问题,发现将显示驱动程序切换为 NVIDEA 二进制驱动程序而不是 nouveau 驱动程序可以解决问题。

一探究竟 https://bugs.launchpad.net/oxide/+bug/1499419

答案2

删除此文件/home/user/.config/QtProject.conf.lock即可解决问题。

相关内容