'Error in install.packages : package ‘RGtk2’ not installed because it is not built for UCRT
I tried to install rattle and RGtk2. I used
install.packages("https://cran.microsoft.com/snapshot/2021-12-15/bin/windows/contrib/4.1/RGtk2_2.20.36.2.zip", repos=NULL) to install RGtk2.
Then I received an error message saying
Error in install.packages : package ‘RGtk2’ not installed because it is not built for UCRT
I wonder how can I solve this problem? Thanks~
Solution 1:[1]
My solution is going back with R-4.1.0
Steps:
- Install R-4.1.0: https://cran.r-project.org/bin/windows/base/old/4.1.0/
- Install Rstudio 2022.02.2-485: https://www.rstudio.com/products/rstudio/download/#download
- Install RGtk2: https://rattle.togaware.com/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | General Grievance |