Hi.
I am using Rstudio in my laptop.
I have completed # install.packages("bibliometrix"). Even I used alternative mirror # install.packages("bibliometrix", repo = "https://cran.revolutionanalytics.com/") to download. But I can not see the package in packages window in the left. Even I can not run # library("bibliometrix")
Help needed!
Hi, welcome!
We are going to need more information to help you, do you get any error message while installing or loading the package?
Thanks for your reply! I got this when I command for #
> install.packages("bibliometrix")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/AZu/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
dependency ‘car’ is not available
also installing the dependency ‘FactoMineR’
There are binary versions available but the source versions are later:
binary source needs_compilation
FactoMineR 1.41 1.42 FALSE
bibliometrix 2.1.2 2.2.1 FALSE
installing the source packages ‘FactoMineR’, ‘bibliometrix’
trying URL 'https://cran.rstudio.com/src/contrib/FactoMineR_1.42.tar.gz'
Content type 'application/x-gzip' length 2801098 bytes (2.7 MB)
downloaded 2.7 MB
trying URL 'https://cran.rstudio.com/src/contrib/bibliometrix_2.2.1.tar.gz'
Content type 'application/x-gzip' length 4649396 bytes (4.4 MB)
downloaded 4.4 MB
ERROR: dependency 'car' is not available for package 'FactoMineR'
* removing 'C:/Users/AZu/Documents/R/win-library/3.4/FactoMineR'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\AZu\Documents\R\win-library\3.4" C:\Users\AZu\AppData\Local\Temp\RtmpcBZmCa/downloaded_packages/FactoMineR_1.42.tar.gz' had status 1
Warning in install.packages :
installation of package ‘FactoMineR’ had non-zero exit status
ERROR: dependency 'FactoMineR' is not available for package 'bibliometrix'
* removing 'C:/Users/AZu/Documents/R/win-library/3.4/bibliometrix'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\AZu\Documents\R\win-library\3.4" C:\Users\AZu\AppData\Local\Temp\RtmpcBZmCa/downloaded_packages/bibliometrix_2.2.1.tar.gz' had status 1
Warning in install.packages :
installation of package ‘bibliometrix’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\AZu\AppData\Local\Temp\RtmpcBZmCa\downloaded_packages’
First, you have to install Rtools in your system, you can download it from here https://cran.rstudio.com/bin/windows/Rtools/
Then try to install again but with this command
install.packages("bibliometrix", dependencies = TRUE)
Again this comes!
install.packages("bibliometrix", dependencies = TRUE)
Installing package into ‘C:/Users/AZu/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
dependency ‘car’ is not available
also installing the dependency ‘FactoMineR’
There are binary versions available but the source versions are later:
binary source needs_compilation
FactoMineR 1.41 1.42 FALSE
bibliometrix 2.1.2 2.2.1 FALSE
installing the source packages ‘FactoMineR’, ‘bibliometrix’
trying URL 'https://cran.rstudio.com/src/contrib/FactoMineR_1.42.tar.gz'
Content type 'application/x-gzip' length 2801098 bytes (2.7 MB)
downloaded 2.7 MB
trying URL 'https://cran.rstudio.com/src/contrib/bibliometrix_2.2.1.tar.gz'
Content type 'application/x-gzip' length 4649396 bytes (4.4 MB)
downloaded 4.4 MB
ERROR: dependency 'car' is not available for package 'FactoMineR'
- removing 'C:/Users/AZu/Documents/R/win-library/3.4/FactoMineR'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\AZu\Documents\R\win-library\3.4" C:\Users\AZu\AppData\Local\Temp\RtmpCaTDMd/downloaded_packages/FactoMineR_1.42.tar.gz' had status 1
Warning in install.packages :
installation of package ‘FactoMineR’ had non-zero exit status
ERROR: dependency 'FactoMineR' is not available for package 'bibliometrix' - removing 'C:/Users/AZu/Documents/R/win-library/3.4/bibliometrix'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\AZu\Documents\R\win-library\3.4" C:\Users\AZu\AppData\Local\Temp\RtmpCaTDMd/downloaded_packages/bibliometrix_2.2.1.tar.gz' had status 1
Warning in install.packages :
installation of package ‘bibliometrix’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\AZu\AppData\Local\Temp\RtmpCaTDMd\downloaded_packages’
Ok the problem is that car
package, which is a dependency of bibliometrix
, requires R >= 3.5 and it seems like you are using 3.4 version, you would have to update R first.
Please guide me to update R
You can download the latest version (3.6.1) from here https://cran.r-project.org/bin/windows/base/ and then follow this instructions to update your packages https://cran.r-project.org/bin/windows/base/rw-FAQ.html#What_0027s-the-best-way-to-upgrade_003f so they can work with the new version.
Dear Andresrcs
Thanks for your support
Solved
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.