Extension:Script

The Script extension does compute with R, and test script of R, Perl, PHP and etc..

Feature overview

 * Script provide tags (r and rform) to compute with R.
 * The script of Programming languages or linux shell can be tested via a Special:Specialpages--- Special:ScriptTest.
 * User rights of implement this extension can be changed.

Requirement

 * The SyntaxHighlight GeSHi extension needs to be installed on your wiki.

Download
This extension can be obtained offsite from here (click starts the download).

Installation
Once you have downloaded the code, place the Survey directory within your MediaWiki 'extensions' directory. Then add the following code to your LocalSettings.php file:

Configuration parameters
R configure file: /extensions/Script/rwiki.r

User rights
User rights of implement this extension can be changed for security.
 * default configure of user right:

Usage
 x:

p:   if (exists("x")) x<-ctext(x) else x<-c(10,20); if (exists("p")) p<-ctext(p) else p<-0.4; x#input; p; binom.test(x,p=p); 

Supported languages
These are the Programming languages known by Script that can be used in ScriptTest.
 * R script
 * perl script
 * php script
 * python script
 * matlab script
 * lua script
 * ruby script
 * bash shell