Install GTK+ for R under Windows

This short tutorial teaches you how to install GTK+ for R under windows.

Installation procedure:

  • From the R command line (or in R-Studio), install the RGtk2 package by running

    This might fail with the warning that package ‘RGtk2’ is not available (for R version xxx). If so, just run

    to install the RGtk2 package directly from its source code (this might take a few minutes).

  • Load the package by running:

    This will notice the missing GTK and prompt you to install it.
    Choose “Install GTK+” when prompted, it might take a few minutes to install. Afterwards it will likely still complain (restart required).

Read more Install GTK+ for R under Windows