如何解决Intel芯片Mac上Docker运行Rattle的RGtk2加载错误?
Intel芯片Mac上Docker部署Rattle报错:Can't load RGtk2
在Mac上安装Rattle时遇到不少问题,后来改用Docker部署该工具,这种方式在Apple Silicon芯片的Mac上能正常运行,但在Intel芯片的Mac上执行启动步骤时出现报错:
> ... > library(rattle) > rattle() # Error in rattle() : Can't load RGtk2. # A windowing system can't be accessed? # Maybe you are using a remote terminal (ssh) or RStudio browser connection. # Consider using remote desktop, ssh -X, or X2Go depending on your platform. # Running rattle() locally on a desktop is the default. # >
目前已经尝试过以下操作,但问题仍未解决:
- 安装不同版本的R、RStudio
- 用多种方式安装XQuartz
- 卸载并清理Rattle相关的数据文件
请问有没有人遇到过类似问题,或者有可行的解决思路?
内容的提问来源于stack exchange,提问作者samoyowu
相关产品推荐
相关产品推荐

