[Exchange and share] V23 R语言默认版本稍低
Tofloor
poster avatar
fallingstar-ten
deepin
2023-05-03 04:08
Author

目前V23的R语言源里默认版本仍是4.1,有计划更新到4.2或4.3嘛?
截图_deepin-terminal_20230502200737.png

Reply Favorite View the author
All Replies
lianghb
deepin
2023-05-03 22:49
#1

没用过r,4.2 4.3 有什么重大升级吗?

Reply View the author
fallingstar-ten
deepin
2023-05-04 00:43
#2
lianghb

没用过r,4.2 4.3 有什么重大升级吗?

最主要的问题是R语言另外装的packages是小版本间不太兼容,另外debian跟ubuntu一般都会随着R主仓库的版本走,v23放了一个4.1有点不适应,按正常现在至少是>=4.2的天下了😂,v23也可以直接加R主仓库的源,但是从R仓库装的话,v23源里的软件包不能满足依赖问题😂

Reply View the author
aidi
deepin
2023-05-05 03:58
#3

确实该更新了,都内核都是6.X了,配套组件也都更新一下吧

Reply View the author
136******89
deepin
2023-07-02 04:53
#4

以下方法可以手动更新到R version 4.3.0

  1. 将 deb http://cloud.r-project.org/bin/linux/debian buster-cran40/ 添加到 /etc/apt/sources.list

  2. sudo apt install dirmngr

  3. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key '95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7'

  4. sudo apt update

  5. sudo apt upgrade

  6. sudo apt-get install r-base

  7. sudo dpkg -i rstudio-1.3.959-amd64.deb (可能不需要,到第6步就已经安装成功了)

    1688215987824.png

Reply View the author
Dr Z
deepin
2023-08-06 22:46
#5
136******89

以下方法可以手动更新到R version 4.3.0

  1. 将 deb http://cloud.r-project.org/bin/linux/debian buster-cran40/ 添加到 /etc/apt/sources.list

  2. sudo apt install dirmngr

  3. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key '95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7'

  4. sudo apt update

  5. sudo apt upgrade

  6. sudo apt-get install r-base

  7. sudo dpkg -i rstudio-1.3.959-amd64.deb (可能不需要,到第6步就已经安装成功了)

    1688215987824.png

截图_选择区域_20230806144623.png

Reply View the author
fallingstar-ten
deepin
2023-08-07 17:09
#6
Dr Z

截图_选择区域_20230806144623.png

不要用仓库的版本,参考我的另一个帖子:https://bbs.deepin.org/post/259125

Reply View the author