I think I do not understand what you are missing, but here are the minimum examples that I have prepared. To run this
library(knitr) knit("r-report.html")
And an example.
<HTML> <HEAD> <TITLE>Analyzing Diamonds!</TITLE> </HEAD> <BODY> <H1>Diamonds are everywhere!</H1> This is an analysis of diamonds, load the data.<p> Generate a figure, don't show code <p> Show some code, don't output the figure<p> And the value testData: inside a text block. </BODY> </HTML>
dready
source share