Primer uporabe Sweave A. Blejec December 3, 2008 Abstract Minimalna datoteka za uporabo Sweave: povezava R in LATEX.
1
Raˇ cunanje
Poskus raˇcunanja > 2 + 2 [1] 4
2
Risanje
Malo risanja: > hist(rnorm(100), col = "lightblue")
15 10 5 0
Frequency
20
25
Histogram of rnorm(100)
−3
−2
−1
0 rnorm(100)
1
1
2
3