"Go" How to install R Rattle package in Mac system

Source: Internet
Author: User
Tags gtk

"Turn to Know": https://www.zhihu.com/question/28944497


1. Install the Xquartz (http/xquartz.macosforge.org )
2. Install GTK (http/r.research.att.com/libs/gtk_2.24.17-x11.pkg )
3. Install GTK + via homebrew (--with-x11 may not be required)
brew install gtk+ --with-X11
4. Export Path
export PKG_CONFIG_PATH=/usr/X11/lib/pkgconfig
5. Install RGTK2 (be sure to add "type = ...", without this sentence, all other solutions are invalid, plus just fine)
install.packages("RGtk2", dependencies = T, type = ‘mac.binary.mavericks‘)
6. Installation of Cairodevice (IBID.)
install.packages("cairoDevice", dependencies = T, type = ‘mac.binary.mavericks‘)
7. Install XML (because Rattle relies on it)
install.packages("XML")
8. Installing Rattle
install.packages("rattle")

This is done.

"Go" How to install R Rattle package in Mac system

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.