History: Profile_r_test2_params
Preview of version: 17
Testing several commands, including a dynamic display of some command based on user input through 'Pretty Tracker', and usage of several graph parameters.
This code:
Produces:
This code:
Produces:
This code:
Produces:
{$user}
{{user}}
This code:
Produces:
This code:
Produces:
This code:
Produces:
This code:
Produces:
This previous code should produce something like:
Showing R output through a Pretty tracker template (.tpl file) on disk. You need to create a tpl on disk under templates/r_test2_template01.tpl with the content that you will find at r_test2_template01 wiki page.
This code:
Produces:
You do not have permission to insert an item
- Test 2a - basic R command
- Test 2b - basic plotting
- Test 2c - dynamic variable usage
- Test 2d - parsing html code
- Test 2e - wikisyntax param
- Test 2f - using the R workspace (param. loadandsave)
- Test 2i - pretty tracker through using param tplwiki in trackerlist
- Test 2j - plotting some other graphs with some more data and functions, with different parameters
Test 2a - basic R command
This code:
Copy to clipboard
{R()}1:10{R}
Produces:
Plugin disabled
Plugin r cannot be executed.
Test 2b - basic plotting
This code:
Copy to clipboard
{R()}plot(1:10,11:20){R}
Produces:
Plugin disabled
Plugin r cannot be executed.
Test 2c - dynamic variable usage
This code:
Copy to clipboard
{$user} {{user}}
Produces:
{$user}
{{user}}
Test 2d - parsing html code
This code:
Copy to clipboard
{R()}cat("<b>hello</b>"){R}
Produces:
Plugin disabled
Plugin r cannot be executed.
Test 2e - wikisyntax param
Attempt parsing with different values for wikisyntax paramTest 2e1 - no wikisyntax set
This code:
Copy to clipboard
{R()}cat("__hello__"){R}
Produces:
Plugin disabled
Plugin r cannot be executed.
Test 2e2 - wikisyntax set to 0
This code:
Copy to clipboard
{R(wikisyntax=>0)}cat("__hello__"){R}
Produces:
Plugin disabled
Plugin r cannot be executed.
Test 2e3 - wikisyntax set to 1
This code:
Copy to clipboard
{R(wikisyntax=>1)}cat("__hello__"){R}
Produces:
Plugin disabled
Plugin r cannot be executed.
Test 2f - using the R workspace (param. loadandsave)
a using loadandsave=1 Copy to clipboard
Plugin disabled Plugin r cannot be executed. | b using loadandsave=1 Copy to clipboard
Plugin disabled Plugin r cannot be executed. | c using loadandsave=0 Copy to clipboard
Plugin disabled Plugin r cannot be executed. |
This previous code should produce something like:
Test 2i - pretty tracker through using param tplwiki in trackerlist
Showing R output through a Pretty tracker template (.tpl file) on disk. You need to create a tpl on disk under templates/r_test2_template01.tpl with the content that you will find at r_test2_template01 wiki page.
This code:
Copy to clipboard
{tracker trackerId="$profileobject:r_test_tracker1$" url="tiki-index.php?page=r_test2"} {TRACKERLIST(trackerId=>$profileobject:r_test_tracker1$, showlinks=>y, tplwiki=>$profileobject:r_test2_template01_page$)} {TRACKERLIST}
Produces:
You do not have permission to insert an item