[ESS] ESS in brew syntax files
Sven Hartenstein
lists at svenhartenstein.de
Thu Sep 8 18:52:22 CEST 2011
Dear ESScians,
I am looking for a way to use ESS in files containing brew template
syntax. So, to have ESS mode in the R code chunks, like in Sweave
files with Rnw-mode. For those of you who do not know brew template
syntax yet, I attach an example below.
Has anyone experience, ideas, or hints?
Sven
=== example brew template syntax file content ===
<p>This is <b>some HTML</b>.</p>
<h2>And another line of HTML</h2>
<%
# This is R code
x <- rnorm(5)
y <- paste(1:5)
z <- x*y
%>
The largest number is <%= max(x) %>.<br />
More HTML here.<br />
That is it.
More information about the ESS-help
mailing list