Ubuntu12.04安装R ,Rstudio, RHive
Ubuntu12.04
R-3.1.0
0.Ubuntu安装R官网的介绍
http://mirrors.ustc.edu.cn/CRAN/
Precise Pangolin (12.04; LTS),
与12.04对应的是
add deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu precise/in your /etc/apt/sources.list file, replacing<my.favorite.cran.mirror> by the actual URL of your favorite CRANmirror. See http://cran.r-project.org/mirrors.html for the list ofCRAN mirrors. To install the complete R system, use
sudo apt-get update
sudo apt-get install r-base
将这行加到
/etc/apt/sources.list文件,然后用实际的URL替换<my.favorite.cran.mirror>
总结了一下,有以下三步:
步骤1.
sudo sh -c "echo deb http://mirrors.ustc.edu.cn/CRAN//bin/linux/ubuntu precise/ >>/etc/apt/sources.list"
步骤2.
sudo apt-get update
步骤3.
4.可能遇到的问题
下载密匙:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 51716619E084DAB9
导入密匙:
gpg --keyserver subkeys.pgp.net --recv E084DAB9
gpg --export --armor E084DAB9 | sudo apt-key add -
b. W: GPG 错误:http://ppa.launchpad.net precise Release: 下列签名无效: BADSIG 84DBCE2DCEC45805 Launchpad PPA for Damien Cassou
5.安装RStudio
6.安装RHive
ln -s /usr/lib/R/bin/R /usr/bin/R
运行命令:
R CMD javareconf JAVAH=/usr/local/java/jdk1.7.0_51/bin/javah JAR=/usr/local/java/jdk1.7.0_51/bin/jar
install.packages("rJava")
版权声明:本文为博主原创文章,未经博主允许不得转载。
Ubuntu12.04安装R ,Rstudio, RHive的更多相关文章
- Ubuntu12.04 安装Samba
Ubuntu12.04 安装Samba Ubuntu12.04 安装Samba 本教程介绍了在Ubuntu12.04安装Samba文件服务器,以及如何配置它通过SMB协议共享文件,以及如何将用户添加. ...
- Ubuntu12.04安装64位系统出现编译错误error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
问题: Ubuntu12.04安装64位系统出现编译错误error while loading shared libraries: libz.so.1: cannot open shared obje ...
- ubuntu12.04安装svn 1.7(转载)
ubuntu12.04安装svn 1.7 分类: ubuntu2013-10-22 16:03 239人阅读 评论(0) 收藏 举报 svnubuntu 目录(?)[+] 1.问题 在 ...
- ubuntu12.04 安装 php5.4/php5.5
1:修改源(我使用163的源)直接修改/etc/apt/sources.list deb http://mirrors.163.com/ubuntu/ precise main universe re ...
- Ubuntu12.04安装java6
按照android官方文档 http://source.android.com 下载编译android源代码,jdk安装失败,尝试一下方法成功(2013-11-20) 下面我就把在Ubuntu12.0 ...
- [分享]Ubuntu12.04安装基础教程(图文)
[分享]Ubuntu12.04安装基础教程(图文) 原文地址: http://teliute.org/linux/Ubsetup/lesson21/lesson21.html 1.进入 live cd ...
- ubuntu12.04 安装nginx+php+mysql (lnmp)的web服务器环境
1.Ubuntu12.04 安装nginx+php+mysql (lnmp)的web服务器环境 http://blog.db89.org/ubuntu12-04-install-nginx-php-m ...
- Ubuntu 16.04 安装R和RStudio
在Ubuntu上安装R和Rstudio的时候碰到了一些依赖项不存在的错误 The following packages have unmet dependencies: r-base-core : D ...
- Ubuntu12.04安装配置Theano
上次写了一个关于DL的开篇内容,本来说是要继续跟进的,后来教研室里面出了一些事情,加上写论文.和隔壁教研室做实验,就一直拖到现在.早就让小K配置环境研究研究Theano,这货和我一样也发拖延症了,理由 ...
随机推荐
- 算法思考: poj 1969 Count on Canton
A - Count on Canton Time Limit:1000MS Memory Limit:30000KB ...
- dhtmlxgrid v3.0学习笔记
dhtmlxgrid v3.0学习笔记 分类: dhtmlx JavaScript2012-01-31 15:41 1744人阅读 评论(0) 收藏 举报 stylesheetdatecalendar ...
- Spark- 数据清洗
输入输出转化工具类 package com.rz.mobile_tag.log import org.apache.spark.sql.Row import org.apache.spark.sql. ...
- POJ 1270 Following Orders(拓扑排序)
题意: 给两行字符串,第一行为一组变量,第二行时一组约束(每个约束包含两个变量,x y 表示 x <y).输出满足约束的所有字符串序列. 思路:拓扑排序 + 深度优先搜索(DFS算法) 课本代码 ...
- IO流 相关基础积累
一个整型32位字节. 写入到流.? 为什么要按十六进制输出到控制台?
- codeforces 515C C. Drazil and Factorial(水题,贪心)
题目链接: C. Drazil and Factorial time limit per test 2 seconds memory limit per test 256 megabytes inpu ...
- Gson小记
Gson过滤字段,只要在字段前面添加“transient”关键字即可:之前就是因为Channel字段序列化的时候导致了stack over异常.
- poj 2390 Bank Interest(计算本利和)
一.Description Farmer John made a profit last year! He would like to invest it well but wonders how m ...
- Code:目录
ylbtech-Code:目录 1.返回顶部 1. https://github.com/ 2.返回顶部 1. https://gitee.com 2. 3.返回顶部 4.返回顶部 5.返 ...
- HDFS中hsync方法介绍
HDFS中hsync方法介绍 原创文章,转载请注明:博客园aprogramer 原文链接:HDFS中hsync方法介绍 1. 背景介绍 HDFS在写数据务必要保证数据的一致性与持久性,从HDFS最初的 ...