]> git.donarmstrong.com Git - don.git/blob - r/learning_r/variables_and_objects.mdwn
add missing final ]
[don.git] / r / learning_r / variables_and_objects.mdwn
1 [[!meta title="Learning R: Basic Variables and Objects"]]
2
3 Eventually here, you'll see some explanation of basic usage of
4 variables and objects in R. For the time being, there are just some
5 tests of my
6 [sweavealike](http://git.donarmstrong.com/?p=ikiwiki_plugins.git;a=blob;f=sweavealike.pm;hb=HEAD)
7 plugin for IkiWiki.
8
9
10 [[!sweavealike echo=1 code="""
11 a <- 1
12 a <- a + 10
13 print(a)
14 """]]
15
16 [[!sweavealike figure=1 echo=1 results="hide" code="""
17 plot(1:10,(1:10)^2,xlab="x",ylab="x^2",main="Example Figure")
18 """]]
19
20
21 testing