I want use the VennDiagram package to correlate three different variables. But in R (version 2.13.0) the package is unavailable. I tried to install it from CRAN and generates this warning:
Installing package(s) into ‘/Library/Frameworks/R.framework/Versions/2.13/Resources/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘VennDiagram’ is not available (for R version 2.13.0)
Also, I tried to use venneuler but in this case I did not show the labels of the different areas, this is the result:
Some suggestions?
The CRAN page of VennDiagram shows that the package needs at least R 2.14 to work. There are three solutions I can think of:
Update R, R 2.13 is old.
Download the source of VennDiagram and edit the DESCRIPTION file. Replace the requirement of R 2.14 by an R version lower than the one you have, and install the package from source (R CMD INSTALL from the command line). This will only work if the package does not use any features that are only available in R 2.14 and above.
Go to the archive of the package on CRAN and download a version of the package compatible with R 2.13 (thanks Dirk).
Related
I have been having problems finding old packages for new nersion of R, any help appreciated
> install.packages('NBZIMM')
Warning in install.packages :
package ‘NBZIMM’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
This was never on CRAN (or Bioconductor) are another curated R package repository.
You do find it on github, though:
and this should even build the vignettes:
if(!require("remotes")) install.packages("remotes") # from CRAN
install.packages("R.rsp")# from CRAN; to build NBZIMM vignettes
remotes::install_github("nyiuab/NBZIMM")
I want to install surminer package but I see this code in R console
Warning in install.packages :
package ‘surminer’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-package
How can i install surminer package?
have you tried installing via Github? (I'm guessing you mean survminer, not surminer)
library(devtools)
install_github('kassambara/survminer')
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.
I have tried to install the R package swiRcharts and received the following message:
package ‘swiRcharts’ is not available (for R version 3.3.1)
Where in the package files (available on GitHub) on from R console can I check which version of R the package was made for?