Congratulations!
You have successfully installed http://profiles.tiki.org/r_test, with a new menu on the side column to ease the navigation tasks and a bunch of potentially useful links.1.1. Is PluginR installed?
If you see a series of numbers from 1 to 10 below, this means that you have your https://doc.tiki.org/PluginR already installed successfully in your Tiki site.[1] 1 2 3 4 5 6 7 8 9 10
Otherwise, you need to install PluginR as admin by means of:
- tiki-mods.php (tiki-mods.php?action=install&package=wikiplugins-r) through the Tiki interface to install mods (see it in section 'Wiki plugins' at the bottom of the list).
- downloading PluginR from http://mods.tiki.org , decompressing it locally, and uploading the folders to their equivalent folders in the server side.
- Accepted parameters in the version of PluginR installed in this system
Click HERE to view/hide themParse R syntax and show the output either from the code introduced between the plugin tags or from the file attached to a tracker item sent through PluginTracker. It can also be combined with Pretty Trackers to edit parameters from the script through web forms.
Go to the source code
Preferences required: wikiplugin_r
Parameters Accepted Values Description Default Since (body of plugin) R Code caption
Code snippet label. R Code PluginR 0.78 colors
Syntax highlighting with colors. Available: php, html, sql, javascript, css, java, c, doxygen, delphi, rsplus... r PluginR 0.78 ln
(blank)
1
0Show line numbers for each line of code. 1 PluginR 0.78 wrap
(blank)
1
0Enable word wrapping on the code to avoid breaking the layout. 1 PluginR 0.78 cacheby
(blank)
pagename
pageidWrite cached files inside a folder containing the Page id (pageid; default option) or the Page name (pagename) pageid PluginR 0.88 cacheagedisplay
(blank)
0
1Display cache last modification date below the graph (default option: do not display) 0 loadandsave
(blank)
0
1Load a previous R session (.RData, if any) for the same wiki page so that R object will be used while you work within the same page. For pretty trackers are used (wiki pages with itemId), the R session data (.RData) will be shared for the same itemId across wiki pages 0 PluginR 0.61 (multiuser at 0.86) cachestrategy
one
peruser
nocacheDefine caching strategy, including LoadAndSave session. Default: One cache and one LoadAndSave session per plugin one customoutput
(blank)
0
1Write your custom png creation R command. Use tikiRRfilename for value of output. RR does not produce an output file. 0 cacheduration
0
3600
86400
604800
2592000
31536000Force cache recalculation after time limit. Default: No limit 0 attId
int AttId from a tracker Item attachment. ex: 1. (Optional) PluginR 0.1 bg
any string except for HTML and PHP tags The initial background colour (optional). Options: white, yellow, grey, ... and transparent transparent PluginR 0.2 echodebug
(blank)
0
1Show a code block with the R commands to be run even if the R program fails to execute 0 height
int Height of the graph (Optional). Options: an integer number in pixels (default) or in units specified. If ommitted but width is set, height will be proportional to keep aspect ratio 480 PluginR 0.1 parse_body
alpha parses the body content to allow data to be generated from other plugins n PluginR 0.90 ? pdf
int Show link for the creation of the PDF version of the plot. Options: 0 (do not create it, default), 1 (create it). Requires R Cairo pakage, which can be checked with the following command in the R console: capabilities() 0 PluginR 0.70 pointsize
int The default pointsize of plotted text, interpreted as big points (1/72 inch) at res dpi (optional). Options: interger number such as 12 or bigger PluginR 0.1 removen
int Remove the extra \n tags generated by some R packages out of the user control (such as with charts generated through GoogleVis R package). Options: 0 (do not remove \n tags, default), 1 (remove them all). 0 PluginR 0.76 res
int The nominal resolution in dpi which will be recorded in the bitmap file (if any). Also used for units other than the default, and to convert points to pixels (Optional). Options: a positive integer (default: 72 dpi). Values higher than 150 usually seem to be too much 72 PluginR 0.1 svg
int Show link for the creation of the SVG version of the plot. Options: 0 (do not create it, default), 1 (create it). Requires R Cairo pakage, which can be checked with the following command in the R console: capabilities() 0 PluginR 0.70 units
alpha Choose units for the width and/or height parameters (Optional). Options: px (default) for pixels, in (inches), cm or mm px PluginR 0.1 width
int Width of the graph (Optional). Options: an integer number in pixels (default) or in units specified. If ommitted but height is set, width will be proportional to keep aspect ratio 480 PluginR 0.1 x11
int Choose whether the server can use X11 to produce graphs in R, or alternatively use dev2bitmap instead (Optional). Options: 1 (R has support for X11, default), 0 (no support for X11 thus using dev2bitmap). These capabilities can be checked in the server with the command in the R console: capabilities() 1 PluginR 0.62 echo
(blank)
0
1Show a code block with the R commands to be run before running them (similarly to the echo command) 0 PluginR 0.78 onefile
(blank)
0
1Should all plots appear in one file? This is the default value (1); but if you answer no, they will attempt to appear in separate files in the server, even if you currently will not be able to fetch them easily through the internet browser. This param can be used with figure types svg and pdf; however, not many svg viewers support several plots in one svg file 1 PluginR 0.71 type
(blank)
text/csv
text/xmlChoose the source file type in the appropriate mimetype syntax (Optional). Options: csv|xml. ex: csv. (default). For xml, see documentation for more details on the additional R packages required csv (text/csv) PluginR 0.1 wikisyntax
(blank)
0
1Choose whether the output should be parsed as wiki syntax (Optional). Options: 0 (no parsing, default), 1 (parsing) 0 PluginR 0.1
- Official documentation of PluginR - html
- Related profile: R_HeatMaps