R fails after installing GTK and RGtk2

后端 未结 7 393
忘了有多久
忘了有多久 2020-12-08 06:07

I\'ve installed R3.0 on my Mountain Lion Mac and after some trial and error the version of GTK suggested by http://r.research.att.com/ for R3.0: GTK+ 2.24.17 framework.

相关标签:
7条回答
  • 2020-12-08 06:31

    I too had this problem. Here is how I worked around it using macports gtk2 -- not the http://r.research.att.com/ version. This was with R version 3.0.1 (2013-05-16) -- "Good Sport", also compiled from source.

    install gtk2

    sudo port install gtk2 ## (X11 -- not aqua)
    

    configure

    export PATH=/opt/local/bin:/opt/local/sbin:$PATH
    

    then install

    I downloaded RGtk2 and cairoDevice from CRAN and did source install:

    R CMD INSTALL RGtk2
    R CMD INSTALL cairoDevice
    
    0 讨论(0)
提交回复
热议问题