]> git.donarmstrong.com Git - don.git/blobdiff - r/learning_r/variables_and_objects.mdwn
its fig not figure
[don.git] / r / learning_r / variables_and_objects.mdwn
index aa35b1e12f4130bac2f0935ca043e83704638365..8a32e924d968e1222dace826cd9b1e58066c75a2 100644 (file)
@@ -7,8 +7,15 @@ tests of my
 plugin for IkiWiki.
 
 
-[[!sweavealike verbatim=1 code=<<END
+[[!sweavealike echo=1 code="""
 a <- 1
 a <- a + 10
 print(a)
-END]]
+"""]]
+
+[[!sweavealike fig=1 echo=1 results="hide" code="""
+plot(1:10,(1:10)^2,xlab="x",ylab="x^2",main="Example Figure")
+"""]]
+
+
+testing