Я собрал R 3.6.0
из источника на Redhat 7 и добавил путь, инициируйте его, как показано ниже.
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
Хотя я не уверен насчет ошибки.