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?
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 an R package for autonomous processing of Twitter data with the help of TwitteR2Mongo, but I'm getting the following error:
Warning in install.packages :
package ‘TwitteR2Mongo’ is not available (for R version 3.4.3)
package may not have been published to CRAN. but it builds from github for me on 3.4.3.
try
install.packages("devtools")
library(devtools)
install_github("ProjectTw/TwitteR2Mongo")
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 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).
I have a problem installing "Rcpp" package in R. The install command have worked for all packages but not for this one. The R error is :
package ‘Rcpp’ is not available (for R version 2.15.0)
I am using windows Vista.Please help.
As can be seen on the CRAN status page for Rcpp, it now depends on R (>= 2.15.1).
So you either update R from 2.15.0 to 2.15.1 (which is not a bad idea), or you can try to install an older Rcpp version such as 0.9.10 which will work with R 2.15.0.