linux下R安装会遇到问题以及解决方法
来源:互联网 发布:手机备份软件 编辑:程序博客网 时间:2024/06/16 01:53
How to install R on a local machine, the problems faced and troubleshooting
- Download the tarball of R-2.6.2 from http://www.icewalkers.com/Linux/Software/530020/R.html onto your local machine, for eg: ~/dist/R-2.6.2.tar.gzR-2.6.2 is the version currently in use by SSG
- unpack it with
~src>tar xvfz ~/dist/R-2.6.2.tar.gz
- cd to R-2.6.2
- Read the INSTALL text file, the first instruction is to do
./configure
- Will get an error for the above command
configure: error: No F77 compiler found
- R requires Fortran compiler. Our desktop machines do have a Fortran compiler (gcc42-fortran). If your desktop machine does not have it, go to Yast and search for Fortran. Select gcc42-fortran and install
- So we need to change the search variable in R-2.6.2/.configure file to accept the fortran compiler we have. Apply the patch below in order to do this
~/src/R-2.6.2>patch --ignore-whitespace --backup ./configure << EOF6180c6180< F95_compilers="f95 fort xlf95 ifort ifc efc pgf95 lf95 gfortran ftn g95"---> F95_compilers="f95 fort xlf95 ifort ifc efc pgf95 lf95 gfortran gcc42-fortran ftn g95"6192c6192< 3.*) GCC_Fortran_compiler=g77 ;;---> 3.*) GCC_Fortran_compiler=gcc42-fortran ;;EOF
- configure with readline=no like this
~/src/R-2.6.2> ./configure --with-readline=no
- Issue the following command make
- link the bin/R so that R can be invoked from anywhere
~/src/R-2.6.2> ln bin/R R
- linux下R安装会遇到问题以及解决方法
- VC6.0 下安装SDK遇到的问题以及解决方法
- linux下安装Subversion遇到关于BerkeleyDB问题及解决方法
- linux 操作系统下安装oracle遇到的问题及解决方法
- linux下安装net-snmp以及遇到的问题
- 安装Paramiko遇到的问题以及解决方法
- 通过SQLyog远程管理linux下mysql过程中遇到的问题以及解决方法
- linux环境下使用eclipse编译器编写C程序时候遇到的问题以及解决方法总结
- Kohana 安装流程以及所遇到问题的解决方法
- CentOS6.4 安装oracle11g的遇到的问题以及解决方法
- kali安装pip包遇到问题以及解决方法
- 数据库sql server安装使用遇到的问题以及解决方法
- Mysql安装以及遇到的问题和解决方法
- SVN在linux下安装时遇到的问题和解决方法
- 记录下 linux安装织梦cms遇到的问题和解决方法
- LAMP在Linux系统下的安装中遇到的问题与解决方法
- linux系统下mysql安装过程中遇到的问题与解决方法
- linux下安装redis及其中遇到的问题的解决方法
- android post
- javascript计时器-1秒精度.
- 在XML序列化时去除默认命名空间xmlns:xsd和xmlns:xsi
- jQuery基础教程之强大的选择器(过滤选择器-可见性过滤选择器)
- 使用Adobe AIR 2的Native Process调用Curl命令
- linux下R安装会遇到问题以及解决方法
- 成才,不只有学知识那么简单
- c# 线程池 后台目录扫描器
- 引用与指针
- struts spring hibernate整合
- 编程小问题和Tips(数据库)
- LPC17xx管脚复用之Uart部分
- android 设定activity的进入和退出效果
- 技术转载:Jni学习四:如何编写jni方法