Sandbox5: Difference between revisions
Jump to navigation
Jump to search
(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 ...") |
|||
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> |