Ubuntu 16.04 安装 R 环境
来源:互联网 发布:苹果6无4g网络只显示e 编辑:程序博客网 时间:2024/05/16 09:36
How to Install R on Linux Ubuntu 16.04
原文:https://www.datascienceriot.com/how-to-install-r-in-linux-ubuntu-16-04-xenial-xerus/kris/
The long-awaited new Ubuntu LTS Xenial Xerus was released last week. I wrote a tutorial on installing R and R-Studio on the old 14.04 LTS, so I figured I’d update that document. Not much has changed for the new 16.04 version but there are new repositories.
Install R-Base
You can find R-Base in the Software Center; this would be the easy way to do it. However, the Software Center versions are often out of date, which can be a pain moving foward when your packages are based on the most current version of R Base. The easy fix is to download and install R Base directly from the Cran servers.
- Add R repository
First, we’ve got to add a line to our /etc/apt/sources.list file. This can be accomplished with the following. Note the “xenial” in the line, indicating Ubuntu 16.04. If you have a different version, just change that.
sudo echo “deb http://cran.rstudio.com/bin/linux/ubuntu xenial/” | sudo tee -a /etc/apt/sources.list
- Add R to Ubuntu Keyring
First:
gpg –keyserver keyserver.ubuntu.com –recv-key E084DAB9
Then:
gpg -a –export E084DAB9 | sudo apt-key add -
- Install R-Base
Most Linux users should be familiar with the old…
sudo apt-get update
sudo apt-get install r-base r-base-dev
Installing R-Studio
RStudio is not currently in the Software Center, but it can easily be installed manually:
sudo apt-get install gdebi-core
wget https://download1.rstudio.org/rstudio-0.99.896-amd64.deb
sudo gdebi -n rstudio-0.99.896-amd64.deb
rm rstudio-0.99.896-amd64.deb
- Ubuntu 16.04 安装 R 环境
- ubuntu环境下安装R
- Ubuntu-14.04 安装 R 语言开发环境
- Ubuntu 10.10下简单安装配置R环境
- R语言环境在Ubuntu下的安装
- Ubuntu下安装R语言和开发环境
- Ubuntu 16.04 安装和使用 R和R studio
- 如何在Ubuntu 16.04安装R
- Ubuntu 12.04 安装 R
- 在ubuntu安装R
- ubuntu下安装R
- Ubuntu 下安装 R
- ubuntu安装R
- ubuntu下安装R
- ubuntu下安装R
- Ubuntu 安装R/Rstudio
- Ubuntu安装R语言
- ubuntu环境下R统计环境的安装与igr…
- 欢迎使用CSDN-markdown编辑器
- 算法题:合并两个有序的链表
- iOS编译通用framework
- 第55篇 Chrome扩展USB开发(一)及PHP研究 Saturday
- MyBatis 插入空值时,需要指定JdbcType
- Ubuntu 16.04 安装 R 环境
- Escape from the Hell(暴力瞎搞)
- kinect for xboxOne在win10中的SDK安装成功
- php面向对象语法3 继承extends
- codeforces723C- Polycarp at the Radio-greedy
- 【CodeVS1004】四子连棋-迭代加深搜索入门
- Visual C++ 之 文件操作
- [心得]详解MySQL三种删除表的方法
- 关于HTML与CSS的学习