X-Git-Url: https://git.donarmstrong.com/?p=don.git;a=blobdiff_plain;f=r%2Flearning_r%2Fvariables_and_objects.mdwn;fp=r%2Flearning_r%2Fvariables_and_objects.mdwn;h=064b4d04c21604ea2d1f4be8d4c66d8fe3aca7fb;hp=15e2a3c52729e4d50311d3e00615c8cf8f0ecec7;hb=f57d1f2cfa54534f9f30bc0c67fa787be4f1b26b;hpb=0080718407d2a4d9f528cdc7a9605e6a6802e232 diff --git a/r/learning_r/variables_and_objects.mdwn b/r/learning_r/variables_and_objects.mdwn index 15e2a3c..064b4d0 100644 --- a/r/learning_r/variables_and_objects.mdwn +++ b/r/learning_r/variables_and_objects.mdwn @@ -7,11 +7,15 @@ tests of my plugin for IkiWiki. -[[!sweavealike verbatim=1 code=""" +[[!sweavealike echo=1 code=""" a <- 1 a <- a + 10 print(a) """]] +[[!sweavealike figure=1 echo=1 results="hide" code=""" +plot(1:10,(1:10)^2,xlab="x",ylab="x^2",main="Example figure") +"""] + testing