Reputation: 21
A fatal error occurs when I installed RGtk2 2.20.36 on RStudio version 1.2.1335. I followed the steps recommended on Installing Rattle on macOS using HomeBrew.
ProductName: Mac OS X
ProductVersion: 10.14.5
BuildVersion: 18F132
Traceback:
1: .RGtkCall("S_gtk_widget_show", object, PACKAGE = "RGtk2")
2: method(obj, ...)
3: crv$rattleGUI$getObject("rattle_window")$show()
4: rattle()
Upvotes: 1
Views: 350
Reputation: 19
Try the following (recommend by Yung-jin Lee) directly on the terminal:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
sudo port selfupdate
sudo port install pkgconfig
sudo port install gtk2 +x11
R CMD INSTALL RGtk2_x.xx.xx.tar.gz
R CMD INSTALL cairoDevice_x.xx.tar.gz
It worked for me.
Upvotes: 1