Sign inSign up

kayon/rattle

By kayon

Updated over 7 years ago

The R-based GUI for Data Science, Machine Learning, Data Mining.

Image
15

100K+

kayon/rattle repository overview

Please let [email protected] 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

$ wajig install docker.io
$ xhost +
$ sudo docker run -it --rm --network=host --env="DISPLAY" -v ~/.Xauthority:/root/.Xauthority:rw kayon/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
  1. Open XQuartz and then in preferences under the Security tab tick "Allow connections from network clients"
$ open -a XQuartz
  1. Find out your IP address and allow xhost permissions
ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
xhost + $ip
  1. 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
  1. Use XLaunch to start an X server in Windows, with "No access control" box checked in the last step of launching.

  2. 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

Tag summary

Content type

Image

Digest

Size

737.2 MB

Last updated

over 7 years ago

docker pull kayon/rattle