[3rd-Party Apps] deepin 23安装R studio出现问题
Tofloor
poster avatar
pho
deepin
2024-10-07 09:05
Author

我最近安装了新的V23系统,但是安装应用软件出现问题:

安装新版本R

  1. 从服务器安装https://docs.posit.co/resources/install-r/#specify-r-version

安装说明在这里:https://docs.posit.co/resources/install-r/#download-and-install-r

sudo apt-get update 
sudo apt-get install gdebi-core
  1. 查看debian版本
cat /etc/debian_version

返回结果显示deepin版本为bookworm/sid

3.选择软件版本

export R_VERSION=4.4.1

4.下载和安装R

$  curl -O https://cdn.rstudio.com/r/debian-10/pkgs/r-${R_VERSION}_1_amd64.deb

$ sudo gdebi r-${R_VERSION}_1_amd64.deb

5.确认R安装

/opt/R/${R_VERSION}/bin/R --version

此时提示:/opt/R/4.4.1/lib/R/bin/exec/R: error while loading shared libraries: libicuuc.so.72: cannot open shared object file: No such file or directory

截图_选择区域_20241007090313.png

这个是否系统缺乏库文件?

Reply Favorite View the author
All Replies
把一切操作变成GUI
deepin
Backbone of ecological co-construction group
2024-10-07 14:08
#1

缺乏依赖

sudo apt-get install libicu-dev

Reply View the author
fallingstar-ten
deepin
2024-10-07 14:33
#2

系统源内有R,可以用sudo apt search r-base检索包名,最新版可能是r-devel

或者使用官方的.gz包进行编译

Reply View the author
小小怪冲啊!
deepin
2024-10-07 19:24
#3

agree

Reply View the author