On Sunday, September 25, 2011 6:12:08 AM UTC-7, Erich Neuwirth wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">As a few people have noticed rattle does not run on R on Lion. The reason is that it needs a newer version of gtk<br>than the one we have thanks to Simon (downloadable from the att R site).<br>I have read in quite a few different places that building gtk on the Mac is messy.<br>Nevertheless, I tried, and I have been able to build a version in Lion which allows<br>to  build everything and tin the gtk-demo included in the source package.<br>I have to overcome two bugs in the distribution.<br>This new version lives in ~/gtk/inst and the contents are very similar to Simon's<br>/Library/Frameworks/GTK+.<wbr>framework/Versions/2.18.X11/<wbr>Resources<br>I am not experienced in developing on OSX, so I am not able to build<br>an installable pkg file which would install this version of gtk as a replacement <br>of Simon's current version.<br>Perhaps somebody experienced in creating Mac packages is willing to start<br>where I had to stop and create such a package.<br>I think that some other readers of this mailing list even might be as eager as I to learn<br>how this can be done in an email short course over the list ;-)<p>I also do not know if we need to recompile RGtk2 (and possible more packages)</p></blockquote><div><br></div><div>A package manager could help with this.</div><div><br></div><div>For example, install Homebrew:</div><div><br></div><div>  http://mxcl.github.com/homebrew</div><div><br></div><div>Install GFortran and R:</div><div><br></div><div>  brew install gfortran</div><div>  brew install R</div><div><br></div><div>You might be able to skip this step and use the R binaries from CRAN---the only caveat I can think of is that Homebrew doesn't build a Universal GTK+ (it gives you x86_64) and CRAN R might want to build both i386 and x86_64 versions of packages.</div><div><br></div><div>Install GTK+:</div><div><br></div><div>  brew install gtk+</div><div><br></div><div>Run R and install rattle:</div><div><br></div><div>  install.packages('rattle')</div><div><br></div><div>Hope this helps!</div><div><br></div><div>-Charlie</div>