gpt4 book ai didi

r - 如何在 Windows ubuntu 20.4 中安装 rstudio

转载 作者:行者123 更新时间:2023-12-04 19:25:11 24 4
gpt4 key购买 nike

我一直在尝试通过以下步骤在 ubuntu 中安装 rstudio:

wget https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.4.1717-amd64.deb -O rstudio.deb


sudo dpkg -i rstudio.debsudo apt-get install -f


sudo apt install ./rstudio.deb


sudo apt-get remove rstudio*


但是当我尝试时出现此错误:
rstudio
或者
sudo rstudio

qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. Aborted

最佳答案

你把 sudo 放了两次。尝试:sudo dpkg -i rstudio.deb如果 rstudio.deb 是您的文件名。
如果有询问,请更新:sudo apt -f

关于r - 如何在 Windows ubuntu 20.4 中安装 rstudio,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71842431/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com