Dream to Learn is shutting down...

We are very sorry to say that Dream to Learn will be shutting down as of December 28th, 2019. If you have content that you wish to keep, you should make a copy of it before that date.


Gobi, rggobi, and interactive graphs - a newbie's perspective

POSTED IN: Data Analytics & Visualization Blog

Posting from Peter Elekes in the LinkedIN The R Project for Statistical Computing group - got me interested, so I'm going to play around a little with GGobi and iPLOTs 

"There are a several ways to interact with R graphics in real time. Three methods are described below. GGobi is an open source visualization program for exploring high-dimensional data. It is freely available for MS Windows, Linux, and Mac..."


  • GGobi http://www.ggobi.org/ GGobi is an open source visualization program for exploring high-dimensional data. It provides highly dynamic and interactive graphics such as tours, as well as familiar graphics such as the scatterplot, barchart and parallel coordinates plots. Plots are interactive and linked with brushing and identification.
  • http://www.ggobi.org/rggobi/introduction.pdf  (nice clean PDF with code examples and visuals
  • Manipulate http://www.rstudio.com/ide/docs/advanced/manipulate RStudio includes a manipulate package that enables the addition of interactive capabilities to standard R plots. This is accomplished by binding plot inputs to custom controls rather than static hard-coded values.
  • http://www.statmethods.net/advgraphs/interactive.html#!
  • iPLOTS > http://www.rosuda.org/iPlots/ - "iPlots is a package for the R statistical environment which provides high interaction statistical graphics, written in Java. It offers a wide variety of plots, including histograms, barcharts, scatterplots, boxplots, fluctuation diagrams, parallel coordinates plots and spineplots"


Goal: To get more familiar with GGobi, rggobi, and interactive graphs; and share my journey with other newbies. 



Step 1 - Opened up the Introduction to rggobi PDF;  http://www.ggobi.org/rggobi/introduction.pdf   Realized I didnt have the background, so went to the recommended http://www.ggobi.org/  for tutorials and basics.

Step 2 - Downloaded ggobi for windows http://www.ggobi.org/downloads/#windows 

Step 3 - Installed,  Ran it.  Came up nearly as a blank.  Worried a bit that install had failed.    

Went to File > Open - saw some good demo-looking files.  Selected "BuckyBall.XLM

Step 4 - saw just dots to begin; found 'edges > attach edge set' and the dots were joined, and started to look like a buckyball..


OK - Now let's go into R Studio and run a demo....


Step 5 - Demos in package ‘rggobi’: > ball A pong game written with rggobi and RGtk2

> demo(ball)

Type  <Return>     to start : 

> library(rggobi)

> library(RGtk2)

Step 6 - Run Demo Ball.  Play the game.  

    Step 7 - 




    Interested in more content by this author?

    About the Author

    Ryan Anderson

    Ryan Anderson

    Hi! I like to play with data, analytics and hack around with robots and gadgets in my garage. Lately I've been learning about machine learning.

    About this blog

    Description is...<br/>Data Analytics & Visualization Blog - Generating insights from Data since 2013

    Created: July 25, 2014


    Up Next