centos7中安装R
方法1, 从外源库中安装
001、系统
[root@PC1 home]# cat /etc/redhat-release ## 系统,centos 7.6 CentOS Linux release 7.6.1810 (Core)
002、测试R
[root@PC1 home]# R ## 测试R
bash: R: command not found...
003、安装epel外源库
[root@PC1 home]# yum -y install epel-release ## 安装epel外源库
004、利用yum 直接安装R
[root@PC1 home]# yum -y install R ## 利用yum直接安装R
005、测试R
[root@PC1 home]# R ## 测试R, 版本为3.6.0 R version 3.6.0 (2019-04-26) -- "Planting of a Tree" Copyright (C) 2019 The R Foundation for Statistical Computing Platform: x86_64-redhat-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.
方法2:根据安装包来安装
参考:
01、https://www.mryunwei.com/300154.html
02、
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
2023-01-16 硬盘sata接口和m.2接口
2023-01-16 几种常见的主板类型
2022-01-16 linux shell中自定义函数简单例子