try with tripple quotes
authorDon Armstrong <don@donarmstrong.com>
Wed, 21 Mar 2012 17:36:36 +0000 (10:36 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 21 Mar 2012 17:36:36 +0000 (10:36 -0700)
r/learning_r/variables_and_objects.mdwn

index 9360887..15e2a3c 100644 (file)
@@ -7,11 +7,11 @@ tests of my
 plugin for IkiWiki.
 
 
-[[!sweavealike verbatim=1 code=<<END
+[[!sweavealike verbatim=1 code="""
 a <- 1
 a <- a + 10
 print(a)
-END]]
+"""]]
 
 
 testing