Can anyone tell me how to install "Kendall" package in R 3.1.1 version.
I have been trying to install using
install.packages("Kendall")
but everytime I do this, I get an error:
Warning in install.packages :
package ‘Kendall’ is not available (for R version 3.1.1)
Related
I am trying to download "highcharter" but got the error below. I also tried installing "rjson" but I got "package ‘rjson’ is not available (for R version 3.6.3)" message
ERROR: dependency 'rjson' is not available for package 'highcharter'
* removing 'C:/Users/elif.gencaslan/Documents/R/win-library/3.6/highcharter'
Warning in install.packages :
installation of package ‘highcharter’ had non-zero exit status
The problem: Outdated R version
The latest version of rjson (0.2.21) depends on R version >= 4.0.0 (see CRAN), and it seems like you have R version 3.6.3.
Best solution: Update R
Your best option is to update your version of R before installing rjson or highcharter.
Alternatives: Install old version of rjson
An alternative is to install an older version of rjson (0.2.20 should work with your version of R).
You can either do this with packages like renv:
renv::install("rjson#0.2.20")
Or remotes:
remotes::install_version("rjson", "0.2.20")
Or you could download it and install it manually from this mran snapshot.
I am trying to install the package ggpubr using the command install.packages('ggpubr') but I'm getting the error:
Installing package into ‘/home/nasser/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
dependency ‘cowplot’ is not available
I then tried to install the package cowplot using install.packages('cowplot') command and again I got the following error Warning in install.packages : package ‘cowplot’ is not available (for R version 3.4.4)
I searched for a solution and found a suggestion to use the following command:
devtools::install_github("wilkelab/cowplot")
and I got this error ERROR: this R is version 3.4.4, package 'cowplot' requires R >= 3.5.0
After a long time searching for a solution, I ended up having no perfect solution.
Can you please suggest me a way to avoid this error?
You have version 3.4.4 of R installed. The package cowplot requires version 3.5.0 or higher. You must upgrade your version of R.
Sometimes this is not possible (such as on a work network). In these cases, an alternative is to install an older version of cowplot that does not have that requirement. Of course, this means you are using an older version of the package. Archives are available on CRAN for older package versions.
https://cran.r-project.org/src/contrib/Archive/cowplot/
I'm trying to install the "tidyverse" package and I get the following warning:
Warning in install.packages :
package ‘tidyverse’ is not available (for R version 3.2.2)
I can install each package individually, but who wants to do it again and again..!
should I install the older version of R?
Actually you need a newer not older version of R so update R and you should be good to go.
This question already has answers here:
How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
(18 answers)
Closed 7 years ago.
I want to install the package "car" but it depends of a package "pbkrtest" I can't install :
ERROR: dependency ‘pbkrtest’ is not available for package ‘car’
Warning in install.packages :
installation of package ‘car’ had non-zero exit status
install.packages("pbkrtest")
Installing package into ‘/home/d9999/R/x86_64-redhat-linux-gnu-library/3.2’
(as ‘lib’ is unspecified)
Warning in install.packages :
****package **‘pbkrtest’ is not available (for R version 3.2.2)******
Do you have an idea ?
R Studio version : 0.99.489
R version 3.2.2 (2015-08-14)
Platform: x86_64-redhat-linux-gnu (64-bit)
According to the CRAN page, the current version of the package pbkrtest (v0.4.6) requires R v. 3.2.3 or higher.
Depends: R (≥ 3.2.3)
Since car depends on pbkrtest, you need to upgrade your R version to the latest version in order to use this package.
Alternatively, you can install an older version of pbkrtest (0.4.4 or higher), which you can find here. Version 0.4.5 of pbkrtest could be a good choice if you don't want to or cannot upgrade R, because this version would be sufficient to install the latest version of car, and it could operate on your current R version since it requires only R v3.0.2 or higher.
I am using R 3.1.1 with Ubuntu 13.10. When I am trying to install Rmpfr package, I am getting error
package ‘Rmpfr’ is not available (for R version 3.1.1)
Can someone tell me how to install it?