Difference between revisions of "Sandbox5"
From Testiwiki
(Created page with "== Invalid code test == <rcode name='test' embed=0> notgonnawork <- get("system") notgonnawork('ls -la') </rcode> <rcode name='test2' embed=0> do.call("system",list('ls ...") |
m (→Google Charts Test) |
||
Line 17: | Line 17: | ||
== Google Charts Test == | == Google Charts Test == | ||
− | <rcode name='gvistest' embed= | + | <rcode name='gvistest' embed=1> |
library(OpasnetUtilsExt) | library(OpasnetUtilsExt) | ||
library(googleVis) # needed only for the example data, otherwise is included automagically | library(googleVis) # needed only for the example data, otherwise is included automagically | ||
+ | |||
+ | |||
+ | # Check all the examples at | ||
+ | # http://code.google.com/p/google-motion-charts-with-r/wiki/GadgetExamples | ||
+ | |||
+ | # Opasnet wrapper for gvis-functions, plain and simple as that | ||
google.gvis('Motion Chart', Fruits, idvar="Fruit", timevar="Year", options=list(height=350, width=400)) | google.gvis('Motion Chart', Fruits, idvar="Fruit", timevar="Year", options=list(height=350, width=400)) | ||
</rcode> | </rcode> |
Revision as of 11:36, 6 November 2013
Invalid code test