Aloha SabreWolfy,

SabreWolfy <sabrewo...@gmail.com> writes:

> I'm using Org ~7.8 and would like to prepare a document for export to HTML
> to make available to others to read. This document will contain heading,
> text, etc., R code (for my reference) and the output of the R code. Where
> should I look to learn how to do this in R? Org-babel? 

Org mode should do what you want pretty much out of the box.  Note that
the exporters all changed with Org 8, so you'll want to distinguish
between the old and new exporters if you look for information on line.

> Is this literate
> programming? 

I don't think so.  The end result of literate programming is typically a
computer program rather than a document.

> I've read much about Org over the years, and I think I've
> probably tried this already once before, but I'd like to know where to start
> looking.

For your R code blocks, see the :exports header argument.  It sounds
like you'll want to set that to :exports both so you can see both your R
code and its output in the html document.

Good luck!

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

Reply via email to