从源代码构建R 3.6.0不允许安装软件包

时间:2019-05-29 14:45:25

标签: r package

我在Redhat 7上从源代码构建了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-pc-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.

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.

During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_COLLATE failed, using "C"
3: Setting LC_TIME failed, using "C"
4: Setting LC_MESSAGES failed, using "C"
5: Setting LC_MONETARY failed, using "C"
6: Setting LC_PAPER failed, using "C"
7: Setting LC_MEASUREMENT failed, using "C"

现在,我尝试为install.packages("BiocManager")安装软件包,我可以在R的早期版本中进行安装,而在3.6.0中则不能。我得到了错误。

mv: cannot move '/home/a/R/lib64/R/library/00LOCK-BiocManager/00new/BiocManager' to '/home/a/R/lib64/R/library/BiocManager': File exists
ERROR:   moving to final location failed
* removing '/home/a/R/lib64/R/library/BiocManager'

The downloaded source packages are in
        '/tmp/RtmpQsq3KA/downloaded_packages'
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("BiocManager") :
  installation of package 'BiocManager' had non-zero exit status

不过,我不确定该错误。

0 个答案:

没有答案