holgerbrandl / r4intellij

An integration of the R programming language into Intellij IDEA
BSD 2-Clause "Simplified" License
148 stars 28 forks source link

java.lang.Throwable: Failed to generate skeleton for 'RGtk2' #191

Open jameson733 opened 5 years ago

jameson733 commented 5 years ago

Received the following IDE Fatal Error when adding R 3.5.2 as the R Interpreter in PyCharm:

java.lang.Throwable: Failed to generate skeleton for 'RGtk2'. The error was:

If you think this issue with plugin and not your R installation, please file a ticket under https://github.com/holgerbrandl/r4intellij/issues

at com.intellij.openapi.diagnostic.Logger.error(Logger.java:134)
at com.r4intellij.packages.RSkeletonGenerator.lambda$updateSkeletons$1(RSkeletonGenerator.java:236)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

rJava works when I run R on its own. I have both 32- and 64-bit versions of Java installed. Perhaps this does not detect the installation of Gtk+, which is required to run RGtk2? The Gtk+ installation is a separate installation outside of R and its repositories.