LuminousMonkey

Rlang Test

Example of Org-Babel for R Literate Programming

R text output

A simple summary.

x <- rnorm(10)
summary(x)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
-0.7964 -0.3806  0.4685  0.3817  0.8871  1.7269 

Sample plot.

library(lattice)
xyplot(1:10 ~ 1:10)
Sorry, your browser does not support SVG.
boxplot(islands)
Sorry, your browser does not support SVG.
library("ggplot2")
ggplot(iris, aes(x = Sepal.Width, y = Sepal.Length, color = Species)) + geom_point()
Sorry, your browser does not support SVG.