Recently, I used R on Linux, and failed to download some packages with some ERROR messages by "install.packages"
and "BiocManager::install"
in R.
Like this:
ERROR: configuration failed for package ‘rgeos’
* removing ‘/home/shpc_100710/miniconda3/envs/R4.0.5/lib/R/library/rgeos’
All I think I should do is to install.packages("rgeos")
. Of cause, there was no use.
But when I turn to Linux environment and downloaded the packages by "conda install"
, the package was successfully downloaded and library.
So what are the differences in download of r-packages between "conda install"
and "install.packages"
? Or Why it's successful in Linux rather than R?
Hope for your reply, thanks.(^_^)
Mengfei Wang