Rattle download error

I'm using Mac OSX Big Sur version 11.4 and have been trying to install Rattle package on R studio.

library(rattle)
rattle()

after this code I'm receiving a Screenshot 2021-06-26 at 10.47.43 AM

getting this error, and I don't know how to get past this.
Please help me.

Make sure you have XQuartz and GTK installed in your system (not in R) and then try to install the rgtk2 package manually.

You can follow the official instructions to install gtk in macOS

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.