R源码安装错误
Tofloor
poster avatar
zk_wannng
deepin
2017-05-05 18:11
Author
本帖最后由 zk_wannng 于 2017-5-5 10:11 编辑

deepin官方源中的r-base r-base-dev版本为3.2.2,太老了
我想安装R3.4
从CRAN下载源代码,解压

./configure
configure: error: --with-readline=yes (default) and headers/libs are not available

./configure --with-readline=no --with-x=no
configure: error: bzip2 library and headers are required


试图安装bzip2
apt-get install bzip2
bzip2 已经是最新版 (1.0.6-8)。
怎么解决?
从源码安装好麻烦,有没有其他方法安装?



Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-05-05 18:28
#1
直接去加源或者下载 deb https://cran.r-project.org/mirrors.html
Reply View the author
avatar
ygidtu
deepin
2017-05-05 19:39
#2
添加源吧,我记得是可以更新上的
Reply View the author
avatar
ygidtu
deepin
2017-05-07 01:14
#3
jingle 发表于 2017-5-5 10:28
直接去加源或者下载 deb https://cran.r-project.org/mirrors.html

我今天装了15.4发现一个问题,CRAN的源都需要加密钥,输命令以后提示没有dimngr,我装了它,还是报错没有可用的keyring,所以,这是系统的原因还是我自己的原因?手机发的所以没有截图,需要的话,我有空上传一下,谢谢
Reply View the author
avatar
lixiaobai
deepin
2017-05-07 07:23
#4
我记得r软件官网上有deb的安装包的,你可以试试看
Reply View the author
avatar
zk_wannng
deepin
2017-05-07 12:23
#5
官方源里面其实是3.3.2,还可以,我就懒得再折腾了.
如果是3.2.2,那真是太古老了.
源码安装也真是太麻烦了.
Reply View the author
avatar
bobo
deepin
2017-05-07 18:28
#6
我这怎么是3.3.2啊?看到楼上的回复了
Reply View the author
avatar
zk_wannng
deepin
2017-05-07 20:53
#7
https://bbs.deepin.org/user/31519 就是3.3.2啊,童鞋
Reply View the author
avatar
scientist
deepin
2017-05-21 23:31
#8
可以阅读这个链接上介绍的安装命令,https://mirrors.tuna.tsinghua.edu.cn/CRAN/。
我当时就是按上面的说明,安装3.3.3。
现在是R3.4.0,推荐使用。
Reply View the author
avatar
jaykingchou
deepin
2017-05-22 00:42
#9
印象中Rstudio官网有deb和安装指导吧,我前两天用过一次,不过是Windows,正好看了一眼。
Reply View the author
avatar
zk_wannng
deepin
2017-05-22 17:27
#10
https://bbs.deepin.org/post/138966
印象中Rstudio官网有deb和安装指导吧,我前两天用过一次,不过是Windows,正好看了一眼。 ...

Rsudio是好装的,但它是IDE啊
我说的是R本体,比较麻烦。
Reply View the author
avatar
scientist
deepin
2017-05-22 17:47
#11
在上次的回答上补充一条。打开https://mirrors.tuna.tsinghua.edu.cn/CRAN/后点击“debian”进去就可以看到先前提到的安装说明。
Reply View the author
avatar
zk_wannng
deepin
2017-05-22 18:13
#12
https://bbs.deepin.org/post/138966
在上次的回答上补充一条。打开https://mirrors.tuna.tsinghua.edu.cn/CRAN/后点击“debian”进去就可以看到 ...

没有debian啊
Reply View the author
avatar
liujianfeng
deepin
2017-05-22 21:35
#13
编译需要装dev包
Reply View the author
avatar
scientist
deepin
2017-05-23 15:39
#14

是先点击Download R for Linux;
再点击debian/      
Reply View the author