History: Profile_r_test4_export

Preview of version: 12



1. Testing that basic R works

{R()}1:10{R}


 Plugin disabled
Plugin r cannot be executed.



2. Testing that basic plotting works

{R()}x<-c(1:10) y <- x*x plot(x,y) {R}


 Plugin disabled
Plugin r cannot be executed.


3. Testing security


3.1. 1 banned command (png) used in PluginR


{R()}x<-c(1:20) y <- x*x png(filename = "temp/cache/mytest_20.png"); plot(x,y) {R}


 Plugin disabled
Plugin r cannot be executed.


^{img src=temp/cache/mytest_20.png}^


Image



3.2. 1 banned command (png) used in PluginRR

Forced mode to disallow security checking, so that banned commands can be executed.

{RR()}x<-c(1:40) y <- x*x png(filename = "temp/cache/mytest_30.png"); plot(x,y) {RR}


 Plugin disabled
Plugin rr cannot be executed.


^{img src=temp/cache/mytest_30.png}^


Image


4. Testing with X11 parameter


4.1. X11 param as 1


{R(X11=1)} x<-c(21:100) y <- x*x plot(x,y) {R}


 Plugin disabled
Plugin r cannot be executed.



4.2. X11 param as 0

Force to use dev2bitmap (assuming R has no support for producing jpeg and png through X11)

{R(X11=0)} x<-c(21:100) y <- x*x plot(x,y) {R}


 Plugin disabled
Plugin r cannot be executed.



History

Information Version
Sat 31 of Aug, 2013 08:31 GMT-0000 Xavier de Pedro added echo to 2nd part 15
Fri 31 of May, 2013 10:04 GMT-0000 Xavier de Pedro added echo param 14
Sun 24 of Mar, 2013 23:45 GMT-0000 Xavier de Pedro simplified 13
Wed 01 of Dec, 2010 23:12 GMT-0000 Xavier de Pedro updated to latest pluginRR 12
Wed 01 of Sep, 2010 16:51 GMT-0000 Xavier de Pedro updated the path for temp graphs to be saved, with latest PluginR 11
Tue 08 of Jun, 2010 17:37 GMT-0000 Xavier de Pedro 7 - 10
Tue 08 of Jun, 2010 06:28 GMT-0000 Xavier de Pedro 2 - 6
Mon 07 of Jun, 2010 19:32 GMT-0000 Xavier de Pedro 1