Linux下安装R语言及Rstudio的web版本

1.安装EPEL
EPEL (Extra Packages for Enterprise Linux)是基于Fedora的一个项目,为“红帽系”的操作系统提供额外的软件包,适用于RHEL、CentOS和Scientific Linux.安装一个叫”epel-release”的软件包,这个软件包会自动配置yum的软件仓库。

[root@localhost jhbigdata]# yum -y install epel-release

Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 61 M RSS (378 MB VSZ)
Started: Fri Feb 15 16:07:47 2019 - 05:09 ago
State : Traced/Stopped, pid: 2396
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 61 M RSS (378 MB VSZ)
Started: Fri Feb 15 16:07:47 2019 - 05:11 ago
遇到yum lock,说明正在运行yum,故kill它后继续安装。
[root@localhost ]# ps
PID TTY TIME CMD
2253 pts/1 00:00:00 bash
2396 pts/1 00:00:02 yum
2399 pts/1 00:00:00 yum
2400 pts/1 00:00:00 ps
[root@localhost ]# kill -9 2396 2399

2.安装R
sudo是linux系统管理指令,是允许系统管理员让普通用户执行一些或者全部的root命令的一个工具,如halt,reboot,su等等。这样不仅减少了root用户的登录 和管理时间,同样也提高了安全性。sudo不是对shell的一个代替,它是面向每个命令的。

[root@localhost ]# sudo yum install R

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值