R in Wandora
NOTE: This is an upcoming feature which is not yet included in the release version of Wandora.
Wandora can be used with the R language. R is an environment for statistical computing and graphing. Properties of the topic map and its topics can be accessed from R and statistics and graphs can be generated from them.
Setting up R
To use R in Wandora you need to install R, then install a few R libraries using the package manager inside R and finally possibly adjust some environment parameters in the Wandora startup script. These steps are explained in detail below.
Installing R
Download R from the R website at http://www.r-project.org/ and follow the installation instructions there.
On Linux environments R may also be available using the package repository of your Linux distribution. In Ubuntu the name of the package you need is r-base.
Installing required R libraries
At the very least you must install the rJava library. Do this using the package manager inside R. First run R using the administrator account. On Windows right click the icon and select "Run as Administrator". On Linux run R from console using "sudo R". Then issue the command
install.packages("rJava")
Most likely you will also want to install the igraph library. It is needed to plot network graphs. To do this issue the command
install.packages("igraph")
Currently Wandora has an unresolved problem with the default graphics device in R in Windows environment. To be able to plot anything you will need to install the JavaGD graphics device using. This is only needed in Windows.
install.packages("JavaGD")