I am trying to install rattle package in RStudio on my Mac but I am getting the following error.
The error is GTK version 2.8.0 required. I tried to install Gtk via Homebrew but still the same problem.
What am I missing?

There is no need for using Rattle of fancyRpartPlot() in order to get more sightful and readable graphs, we can easily load rpart.plot into our workspace which is hassle-free and usually comes with main rpart package. Just need to call it and pass the model as its parameter to draw a pretty plot from model
library(rpart.plot)
rpart.plot(model)

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With