I'm trying to install Rattle and am having problems installing RGtk2. I am using R version 4.1, so there may be a version compatibility issue. However, I noticed that RStudio is installing packages into OneDrive:
Installing package into ‘C:/Users/tdwri/OneDrive/Documents/R/win-library/4.1’
but I am using R in C:\Program Files\R\R-4.1.2\
Question 1: how do I make sure packages are installed in C:\Program Files\R\R-4.1.2 instead of OneDrive?
Question 2: How do I install rattle when I am getting the error: package ‘RGtk2’ is not available for this version of R.
Question 3: If the solution to the second question involves downgrading the R version, how can I do that?
I apologize for asking 3 questions. I'm trying to get Rattle to work and these problems came up.