Hi I am using R (and RStudio in Ubuntu) I am having the following issue.
I use the line of code:
install.packages("factoextra")
During the installation I get the message:
install.packages("factoextra")
Installing package into ‘/home/martinandrade/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
dependencies ‘FactoMineR’, ‘cowplot’ are not available
also installing the dependency ‘ggpubr’
trying URL 'https://cloud.r-project.org/src/contrib/ggpubr_0.2.4.tar.gz'
Content type 'application/x-gzip' length 2665439 bytes (2.5 MB)
==================================================
downloaded 2.5 MB
trying URL 'https://cloud.r-project.org/src/contrib/factoextra_1.0.5.tar.gz'
Content type 'application/x-gzip' length 1390733 bytes (1.3 MB)
==================================================
downloaded 1.3 MB
ERROR: dependency ‘cowplot’ is not available for package ‘ggpubr’
* removing ‘/home/martinandrade/R/x86_64-pc-linux-gnu-library/3.4/ggpubr’
Warning in install.packages :
installation of package ‘ggpubr’ had non-zero exit status
ERROR: dependencies ‘FactoMineR’, ‘ggpubr’ are not available for package ‘factoextra’
* removing ‘/home/martinandrade/R/x86_64-pc-linux-gnu-library/3.4/factoextra’
Warning in install.packages :
installation of package ‘factoextra’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpsKLn56/downloaded_packages’
Which then produces an error message when I load the package
library("factoextra")
Error in library("factoextra") : there is no package called ‘factoextra’