RatLab Mac OS

Rattle: Installation on Macintosh OS X (Leopard and Lion)

Install Guide

The definitive guide to installing rattle on the Mac as of June2018 comes via Zhiya Zuowhere Yihui Xie (RStudio) notedthat he has pre-built the binaries of RGtk2 and cairoDevice so that wecan easily install rattle. Thanks to Yihui. Note thathttps://macos.rbind.org has disappeared and has probably been replacedby https://macos.rbind.io.

May 23, 2020 Download RadLab 1.2.24 for Mac from our website for free. This software can be installed on Mac OS X 10.5.0 or later. The software is included in Design & Photo Tools. The application's installer is commonly called radlab-1.3.6a.dmg. The actual developer of this Mac application is Totally Rad Inc. The most popular version of RadLab for Mac is 0.9. RatLab toolkit is a software framework designed to set up and simulate a wide range of studies targeting the encoding of space in rats. It provides open access to our modeling approach to establish place and head direction cells within unknown environments and it offers a set of parameters to allow for the easy construction of a variety of enclosures for a virtual rat as well as controlling.

Asara Senaratne tested the following steps 2020-08-03:

  • You need to have macports installed. Select the correct one based on your OS from this https://www.macports.org/install.php and install it.
  • If you already have a terminal running, restart it and run the command: sudo port install gtk2 ## (X11 -- not aqua).
  • Then, run: export PATH=/opt/local/bin:/opt/local/sbin:$PATH
  • Run 'R' in the terminal to get the R command line and run: install.packages('RGtk2',type='source')
  • Next, run: install.packages('rattle',type='source')
  • Install: install.packages('rpart.plot') to get the plots
  • Restart R and try: library(rattle); rattle()

Eric Lin provided the following steps 2020-03-03. If asked toinstall by source say yes. If at any time during the process you areprompted for dependencies to be installed press yes. If you had afailed installation previously run brew doctor first to clearpotential problems. If there is a recommendation for a cleanup runbrew cleanupBlack mamba song.

Ratlab Mac Os Download

  • Open up your Terminal.
  • You will need to install XCode Command Line Tools before installing R. We can install that by copy/pasting into terminal and pressing enter: xcode-select --install
  • Go to homebrew's website and copy/paste the command into terminal from here: https://brew.sh/
  • To install R, copy/paste this into your terminal and press enter: brew install r
  • We need some dependencies for Rattle: brew install gtk+
  • Ensure cairo does not exist yet (if you get an error that it doesn't exist that's fine): brew uninstall --force cairo --ignore-dependencies
  • Next: brew cask install xquartz
  • Next: brew install --with-x11 cairo
  • Now enter this command as capitalised: R
  • Copy and paste these commands one at a time within R and when asked for CRAN press 4 (ignore any warnings and note it may run for a while):
  • If asked to install dependencies or by source make sure to select yes.
  • This should install everything, including dependencies, successfully. If it does type the following to close R: q()
  • Enter back in: R
  • Load rattle library: library(rattle)
  • Load rattle: rattle()

    The material below is for archival purposes and generally can beignored though retained here in case it helps others. Also, fortrouble shooting see the Rattle Install Trouble Shooting.

    Alternative Install Guides

    Other contributions are included for information. Thanks to everyonewho has contributed to getting Rattle running smoothly on the Mac.
    • Roger Bohn of UCSD, April 2018, Mac OS X 10.13.4, R 3.4.4, X, RGtk 2.20.34, Rattle 5.1.3
    • Zhiya Zuo Sep 2017, Mac OS X >= 10.11, R 3.4.1, XQuartz, RGtk 2.20.33, Rattle 5.0.14
    • Marco Ghislanzoni Aug 2014, Mac OS X 10.9.4, R 3.1.1, XQuartz, GTK
    • Seb Kopf Jun 2014, Mac OS X 10.9.4, R 3.1.1, XQuartz, GTK 2.24

    Old Instructions

    Please ensure you have at least

    • Mac OS/X 10.12
    • XQuartz instead of X11
    • R 3.4.1 GUI 1.63 Snow Leopard build (6660)
    • GTK 2.24.17-X11
    • install.packages('rattle', repos='http://rattle.togaware.com', type='source”)

    Thanks to Rashid Zaman [140331] and Ivan Salgo [140603] forconfirming these requirements.Further information on installing the right version of GTK for Rversion 3 can be found on GitHub.Geoffrey Brown [150320] reports that for OSX 10.6.8, R 3.1.3 heinstalled XCode 3.2.6 and then install.packages('RGtk2',type='source') which worked for him.

    Quick Start

    • Install R
    • Startup R and then
    • > install.packages('RGtk2')
      > install.packages('rattle')
      > q()
    • Restart R and then
    • > library('rattle')
      > rattle()

    The rest of the required libraries get installed as you use Rattle.We install RGtk2 and the Gtk libraries separately as they can takesome time to download and install. Wild huskies slot.

    The details are below.

    Dev Release

    The latest development version is available directly from Togaware:

    If you have issues with Rattle, then installing the latestdevelopment version is probably a good place to start.

    Details

    1. Install Latest R

    The first step is to install R

    • Download and install the latest version of R from CRAN, the Comprehensive R Archive Network. The link to R-latest.pkg will deliver the latest. Choosing all the defaults on the install works just fine.

    2. Install Rattle

    Then install Rattle using R's package manager. As a separate stepit is usually best to install the RGtk2 package which will downloadthe GTK libraries for Mac OS/X and link them into R. This can takesometime and is a prerequisite for loading Rattle.

    • Start R and enter the following command at the R prompt. R asks us to nominate a CRAN mirror. Choose a nearby location.

    • Restart R and then load Rattle with the following two commands at the R prompt. This loads the Rattle package into the library and starts up Rattle.

    Note on Installation of Rattle on Mountain Lion

    Slots lv free spins 2019. Thanks to Joe Trubisz for this script that he tested on severaldifferent machines and confirms it works (15 November 2013).

    1. Start R
    2. > install.packages('RGtk2', dependencies=TRUE)
    3. > install.packages('rattle', dependencies=TRUE)
      Wait ..
    4. Once done, q()
      If you have a 'unable to load' issue, then you most likely do not have the correct GTK+ library for Mountain Lion. If you have this issue, then kill X11 and R, go to ATT and download: GTK_2.24.17-X11.pkg and install it.
    5. Restart R
    6. > library(RGtk2)
      Once X11 starts, go to the task bar and select X11->Check forupdates. If there is an update, do the update, q() after theupdate and kill X11. If no update is present, skip to step 8.
    7. Redo steps 5 and 6 above
    8. demo(appWindow)
      Make sure that you can close the window successfully.
      If you are here, then you should be able to:
    9. > library(rattle)
    10. > rattle()

Ratlab Mac Os Download

For trouble shooting see the Rattle Install Trouble Shooting.

Copyright © 2006-2019 Togaware Pty Ltd
This site is hosted in the cloud by Web Faction.
Last Modified Saturday 2020-08-08 18:53:28 AEST Graham Williams

RatLab
Shop atAmazon

Installing Rattle on MacOS 10.11 (or above)

Guys, great news! Follow Yihui’s comment below and use the 20-line code to install Rattle without any effort! Just copy and paste the codes in R/RStudio - it just works like a charm!

Note that you need to install Homebrew first (step 3 below). Next you can run Yihui’s code, which is copied below:

This document describes steps to successfully install RattleR Analytic Tool To Learn Easily on macOS 10.11 or above. If you have a macOS lower than 10.11, I recommend you upgrade your system to the newest one (10.12 macOS Sierra using App Store. Without macOS 10.11 or above, you cannot install R 3.4, let alone RGtk2, which now only supports the newest R version.

Throughout the steps to get your Rattle working, we will be using Terminal. You can open it by using Spotlight Search (you can open it by command+space, which is the default shortcut). Type terminal and you will be able to find it and open it.

Note that starting from step 7, I mainly followed instructions on @williamtellme123’s comment (the second to last)

Ratlab Mac Os Downloads

Mac
  1. Enter the following command in terminal to check your macOS version. Expected output is as below the dashed line ---.
  2. If your system is above 10.11, continue. Otherwise, upgrade it to Sierra.

  3. Install homebrew, which is a very convenient package manager for macOS. Copy the following command in terminal and hit Enter:

    Follow the instructions to get brew ready. When inputing your password, nothing will show up for security reasons. Just hit Enter when you’re finished.

  4. When brew is finished, copy the following command in terminal and hit Enter:
  5. Next, check your R version:
  6. If yours is 3.4, continue. Otherwise, upgrade it.

  7. Enter the following into your terminal:
  8. Next, we need to tell brew to change the way it wants to install gtk+. A text editor window will pop up. Note that if you are not familiar with vim, run export EDITOR=emacs in terminal before the line above to force using emacs, where you can use it as other common text editors.

    Find where there is something like this:

    The original version that you just opened will be exactly the same, except the bottom two lines. Replace the whole chunk by this one. Then hit ctrl+xctrl+c, followed by y to quit emacs.

  9. Now we can install gtk+ by:

    After installation succeeds, run this in terminal: echo 'export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib/pkgconfig/gtk+-2.0.pc:/opt/X11/lib/pkgconfig' >> ~/.bash_profile. Otherwise, gtk+ will not be recognized.

  10. Download the newest source file for RGtk2 from https://cran.r-project.org/web/packages/RGtk2/index.html.

  11. Assume that the path to this file is ~/Downloads. Run the following in terminal:

    Note that versions may vary depending on when you download the source file. Use the exact filename that sits in the directory. (Tip: use tab to help autocomplete.)

  12. When it finishes, open XQuartz by using spotlight search.

  13. A window that’s very similar to terminal will pop up. Type r and hit enter to open R.

  14. In R, run:
  15. Then try rattle library:
  16. Rattle will show up and it may ask you whether to install XML and cairoDevice. Click yes for both and you should be good to go now.

Related Posts

Please enable JavaScript to view the comments powered by Disqus.comments powered by Disqus