Problems when installing R and Rstudio in Ubuntu:
来源:互联网 发布:马赛克软件下载 编辑:程序博客网 时间:2024/06/05 13:36
1. download R source code.
2. uncompress; then ./configure, but error occurs,
just because there are lack of some dependent packages.
install those libraries,mostly using "apt-get install lib(lib_name)-dev"
for example:
":configure: error: No F77 compiler found"
solution: sudo apt-get install gfortran. this because R needs fortran to make it.
“–with-x=yes (default) and X11 headers/libs are not available”
solution: sudo apt-get install libxt-dev
"configure: error: --with-readline=yes (default) and headers/libs are not available"
solution: sudo apt-get install libreadline-dev
" configure: error: zlib library and headers are required"
solution: sudo apt-get install zlib1g-dev
"error: "liblzma library and headers are required"
sudo apt-get install liblzma-dev
"bzip2: error'
download bzip2 library first, here's the link: https://launchpad.net/ubuntu/+source/bzip2/1.0.6-8.1
uncompress, then: sudo make install
"configure: error: pcre >= 8.10 <10.0 library and headers are required"
because the pcre version cannot be too low or too high, I have to download it from here:https://ftp.pcre.org/pub/pcre/
then : ./configure ; make and make install
however, "pcre" library which the version is out of range has been installed , so, I should remove the installed pcre lib first.
****
configure: WARNING: you cannot build info or HTML versions of the R manuals
configure: WARNING: you cannot build PDF versions of the R manuals
configure: WARNING: you cannot build PDF versions of vignettes and help pages
three warnings still exist, but not affect the function
3.make & make install
如果不从源码安装,直接从apt-get or .deb文件安装,可参考博文:
http://blog.csdn.net/duxu24/article/details/53611510
http://www.xuebuyuan.com/1234434.html
http://laymantech.blogbus.com/logs/80761679.html
- Problems when installing R and Rstudio in Ubuntu:
- Installing R/RStudio on Ubuntu 14.04
- Installing R in Ubuntu
- Install R & RStudio in Ubuntu
- Install R & RStudio in Ubuntu
- Install R and RStudio on Ubuntu
- Error encountered during installing R in Ubuntu
- Ubuntu 安装R/Rstudio
- How to Debug root.sh Problems when Installing CRS 10.2 and 11.1 Release (Doc ID 443418.1)
- Problems when building and running Nutch in eclipse
- Installing and setting TFTPD in Ubuntu
- Installing and setting TFTPD in Ubuntu
- Ubuntu 安装 OpenCV3.0, 遇到的问题集合 (Problems encountered in installing OpenCV3.0 on Ubuntu)
- Installing R packages on to your EC2 RStudio instance
- Problems when installing rt-xen 1.0 on fedora18(64bit)
- Installing Software in Ubuntu
- Installing maven2 in ubuntu
- Postgresql installing in ubuntu
- Redis常用操作命令
- 使用node-inspector调试NodeJS代码
- Linux下VI的基本操作实验
- 必须掌握的技术知识点
- struts2 中redirectAction如何传递参数!
- Problems when installing R and Rstudio in Ubuntu:
- 今天做到一道面试题:线程安全问题,类锁与对象锁的区别
- easyUI datagrid 跨行跨列操作
- Bootstrap-table异常汇总
- 学习【OpenCV入门教程之八】线性邻域滤波专场:方框滤波、均值滤波与高斯滤波---思维导图笔记
- 统计传入字符串参数(可能不止一个参数)的英文字母、空格、数字和其他字符的个数
- 关于mybatis generator调用时遇到问题整理
- POJ 1196 Twofive 笔记
- python基础学习(4)