Test

Table of Contents

Example of Org-Babel for R Literate Programming

R text output

A simple summary.

x <- rnorm(10)
summary(x)

R graphics output

Note we use the object x generated in previous code block, thanks to the header option :session *R*. The output graphics file is a.png.

y <- rnorm(10)
plot(x, y)

Same plot with larger dimension:

plot(x, y)

Documentation from the orgmode.org/worg/ website (either in its HTML format or in its Org format) is licensed under the GNU Free Documentation License version 1.3 or later. The code examples and css stylesheets are licensed under the GNU General Public License v3 or later.