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. 
-1.12575 -0.11963  0.02636  0.18786  0.49017  1.50592 

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.