Add R highlighting from RStudio (plus other dependencies)
This commit is contained in:
parent
33abb103b4
commit
af70013668
14 changed files with 865 additions and 0 deletions
22
demo/kitchen-sink/docs/rhtml.Rhtml
Normal file
22
demo/kitchen-sink/docs/rhtml.Rhtml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<title>Title</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>This is an R HTML document. When you click the <b>Knit HTML</b> button a web page will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:</p>
|
||||
|
||||
<!--begin.rcode
|
||||
summary(cars)
|
||||
end.rcode-->
|
||||
|
||||
<p>You can also embed plots, for example:</p>
|
||||
|
||||
<!--begin.rcode fig.width=7, fig.height=6
|
||||
plot(cars)
|
||||
end.rcode-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue