Public Repository

Last pushed: 2 months ago
Short Description
The R-based GUI for Data Science, Machine Learning, Data Mining.
Full Description

Please let support@togaware.com know of any issues. Please star the image if you find it useful. Thanks.

This is a fully functional standalone Rattle installation on a Ubuntu server ready to run on Linux, Mac OS X, and Windows. All dependent R packages are installed.

To start running the image see the commands below, and once you start running the image a bash shell is started and there you can type the following commands:

$ sh /run.sh
$ R
> library(rattle)
> rattle()

The run.sh will install two packages that needed DISPLAY to be set when run, and not yet have a solution for that in creating the image. It is an optional step.

To start running a docker image in a container on your operating system, do one of the following, as appropriate.

GNU/Linux

$ xhost +
$ docker run -it --rm --network=host --env="DISPLAY" -v ~/.Xauthority:/root/.Xauthority:rw rattle

The xhost command avoids the error you might get with the "sh /run.sh" command. This is likely a XWindows permission error and the xhost command is the "nuclear" option to give permissions, before running the docker command:

Mac OS X

There is some helpful information at (https://fredrikaverpil.github.io/2016/07/31/docker-for-mac-and-gui-applications/).

  1. Install Docker and XQuartz.
  2. Obtain the relevant Docker image (optional as docker run will automatically download the image).
    $ docker pull kayon/rattle
    
  3. Open XQuartz and then in preferences under the Security tab tick "Allow connections from network clients"
    $ open -a XQuartz
    
  4. Find out your IP address and allow xhost permissions
    ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
    xhost + $ip
    
  5. Run the Docker image in a container
    docker run -it --rm -e DISPLAY=$ip:0.0  kayon/rattle
    

MS/Windows

  1. Install Docker for Windows and then Xming X server for Windows.

  2. Obtain the relevant Docker image (optional as docker run will automatically download the image).

    $ docker pull kayon/rattle
    
  3. Use XLaunch to start an X server in Windows, with "No access control" box checked in the last step of launching.

  4. Run the Docker image within a container providing the IP address of the host server (not the DockerNAT) as reported by the 'ipconfig' command under Windows.

    $ docker run -it --rm -e DISPLAY=<ip>:0.0 kayon/rattle
    
Docker Pull Command
Owner
kayon