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 |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{#widget:Sandbox2}} | ||
+ | {{variable}} | ||
+ | |||
+ | == Objects.store test == | ||
+ | |||
+ | <rcode name='storetest' embed=1> | ||
+ | library(OpasnetUtils) | ||
+ | ääkkösobjekti <- "HEHE HÄHÄ" | ||
+ | objects.store(ääkkösobjekti) | ||
+ | </rcode> | ||
+ | |||
+ | == Objects.latest test == | ||
+ | |||
+ | <rcode name='latesttest' embed=1> | ||
+ | library(OpasnetUtils) | ||
+ | objects.latest('Op_en6199','storetest') | ||
+ | ls() | ||
+ | </rcode> | ||
+ | |||
+ | == Math test == | ||
+ | |||
+ | |||
+ | <math>\alpha + 8884444</math> | ||
+ | |||
+ | <math> | ||
+ | \textstyle | ||
+ | |||
+ | L_{Aeq} = 12 \log \int_{t_0}^{t_1} \frac{p_A^2(t)}{p_0^2} dt | ||
+ | |||
+ | </math> | ||
+ | |||
== Invalid code test == | == Invalid code test == | ||
Line 17: | Line 48: | ||
== 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)) | ||
+ | |||
+ | |||
+ | google.gvis('Geo Map', Exports, locationvar="Country", numvar="Profit",options=list(dataMode='regions',height=480,width=640)) | ||
+ | |||
</rcode> | </rcode> |
Latest revision as of 11:54, 4 June 2015
{{#widget:Sandbox2}}
This page is a variable.
The page identifier is Op_en6199 |
---|
Moderator:Nobody (see all) Click here to sign up. |
Give your opinion to the peer rating of the content of this page. |
Upload data
|
Contents
Objects.store test
Objects.latest test
Math test
Failed to parse (Missing <code>texvc</code> executable. Please see math/README to configure.): \alpha + 8884444
Failed to parse (Missing <code>texvc</code> executable. Please see math/README to configure.): \textstyle L_{Aeq} = 12 \log \int_{t_0}^{t_1} \frac{p_A^2(t)}{p_0^2} dt
Invalid code test