如何在RedHat里面编译R源码并安装

如何在RedHat里面编译R源码并安装,第1张

1、安装拦基编码源码的编译工具,一般是简首谨需要安装gcc yum install gcc 2、把源码解压芹告 tar zxvf uname.tar.gz 3、进入解压的目录执行 ./configure make make install 完成编译安装

lib : character vector giving the library directories where to install the packages. Recycled as needed. If missing, defaults to the first element of .libPaths().

repos : character vector, the base URL(s) of the repositories to use, e.g., the URL of a CRAN mirror such as " https://cloud.r-project.org ". For more details on supported URL schemes see url.

quiet : logical: if true, reduce the amount of output.

源码编译安装的时候,要将源码压缩悔岩野碧喊成tar.gz格式再安装,zip格式会出奇怪的错误。

Bioconductor 镜像源配置文件之一是 .Rprofile (linux 下位于枣银 ~/.Rprofile )。

在文末添加如下语句:


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/tougao/12539409.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2025-08-26
下一篇2025-08-26

发表评论

登录后才能评论

评论列表(0条)

    保存