Loading...
 
Skip to main content
A plugin for the R language of statistical computing and scientific data visualization
Type of page »  Feature page

PluginR

R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS

This plugin, which can be obtained from Mods, allows to execute R commands in a wiki page and show the results in that page also. Data for the program can be dynamically referenced from tracker item attachments.
See some pre-configured example at teh documentation page (link below)

Requirements

If you see an error message like:

Copy to clipboard
“ERROR: <convert...> command not found in”


you need to ensure that you have imagemagick installed successfully in the server.

Testing environments:

  • From R 2.8.1 to R 2.15.x

1.2. Main Plugin Files

1.2.1. wiki-plugin_r.php & wiki-plugin_rr.php

In mods svn, since August 4th, 2009.

lib/wiki-plugins/wikiplugin_r.php code:

1.2.2. wiki-plugin_rr.php


lib/wiki-plugins/wikiplugin_rr.php code:

1.2.3. .htaccess

temp/.htaccess code:

1.3. Documentation

See the documentation at:
https://doc.tiki.org/PluginR

1.4. ToDo

  1. Better way of creating svg files?
  2. R package to easily convert data frames into simple or fancy tables
  3. save results from R calculations back in tiki trackers
  4. display results from R in Tiki spreadsheets
  5. allow batch processing of R scripts.

1.5. References


Other links:


Special thanks to Rodrigo, Luci and Louis-Philippe for their help and advice to develop this plugin.