Public Repository

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

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. Currently 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()

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

GNU/Linux

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

If there is an error with the "sh /run.sh" command it is likely a XWindows permission error. Before running docker you may take the "nuclear" option before the docker command:

$ xhost +

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