X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=r%2Flearning_r%2Fvariables_and_objects.mdwn;h=8a32e924d968e1222dace826cd9b1e58066c75a2;hb=0625e46c7b0323713e51d13b584a078607d56aba;hp=15e2a3c52729e4d50311d3e00615c8cf8f0ecec7;hpb=c876956fa6426bde78854f44729a18ac8587435e;p=don.git diff --git a/r/learning_r/variables_and_objects.mdwn b/r/learning_r/variables_and_objects.mdwn index 15e2a3c..8a32e92 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 fig=1 echo=1 results="hide" code=""" +plot(1:10,(1:10)^2,xlab="x",ylab="x^2",main="Example Figure") +"""]] + testing