Note: for some reason on Windows 8, the RGtk2 package is not always recognized during compilation of other source packages, even if it can be loaded and works perfectly fine. Restart R/Rstudio and confirm GTK is now up and running by reloading the package: library(RGtk2).Afterwards it will likely still complain (restart required). Choose "Install GTK+" when prompted, it might take a few minutes to install. This will notice the missing GTK and prompt you to install it. Then load the package by running: library(RGtk2).If so, just run install.packages("RGtk2", depen=T, type="source") instead to install the RGtk2 package directly from its source code (this might take a few minutes). This might fail with the warning that package ‘RGtk2’ is not available (for R version xxx) if your version of R has been released very recently. in R-Studio), install the RGtk2 package by running: install.packages("RGtk2", depen=T) optional but recommended: install R-Studio.Once R is installed, you can install GTK directly from within R (details below). Additionally, I highly recommend R-Studio for working with R regularly (but the basic command line will work just fine for most applications). Installation information for R with GTK+ Windows
0 Comments
Leave a Reply. |