Installing RGtk2 package in R

419 Views Asked by At

Can you please help me with installing RGtk2 package in R?

I tried the following:

install.packages("RGtk2") Installing package into ‘C:/Users/filip/AppData/Local/R/win-library/4.3’ (as ‘lib’ is unspecified) Warning message: package ‘RGtk2’ 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

install.packages("RGtk2", depen=T, type="source") Installing package into ‘C:/Users/filip/AppData/Local/R/win-library/4.3’ (as ‘lib’ is unspecified) Warning message: package ‘RGtk2’ 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

Then I tried to install it from archive, but I got:

install.packages("C:/Users/filip/Downloads/RGtk2_2.20.36.zip", repos = NULL, type = "win.binary") 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/filip/AppData/Local/R/win-library/4.3’ (as ‘lib’ is unspecified) package ‘RGtk2’ successfully unpacked and MD5 sums checked

library(RGtk2) Error: package or namespace load failed for ‘RGtk2’: package ‘RGtk2’ was installed before R 4.0.0: please re-install it

Can you please help me?

0

There are 0 best solutions below