Permalink
Browse files

init

  • Loading branch information...
0 parents commit 050bb0bae5d00172f1cebc901e63b4284874cd22 jmsigner@gmail.com committed May 17, 2012
Showing with 127 additions and 0 deletions.
  1. BIN figure/plot-fig.png
  2. BIN report.docx
  3. +54 −0 report.html
  4. +37 −0 report.md
  5. BIN report.odt
  6. BIN report.pdf
  7. +28 −0 report_knit_.md
  8. +8 −0 script.r
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta http-equiv="Content-Style-Type" content="text/css" />
+ <meta name="generator" content="pandoc" />
+ <meta name="author" content="The author" />
+ <title>A sample report</title>
+ <style type="text/css">
+table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {
+ margin: 0; padding: 0; vertical-align: baseline; border: none; }
+table.sourceCode { width: 100%; }
+td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; }
+td.sourceCode { padding-left: 5px; }
+code > span.kw { color: #007020; font-weight: bold; }
+code > span.dt { color: #902000; }
+code > span.dv { color: #40a070; }
+code > span.bn { color: #40a070; }
+code > span.fl { color: #40a070; }
+code > span.ch { color: #4070a0; }
+code > span.st { color: #4070a0; }
+code > span.co { color: #60a0b0; font-style: italic; }
+code > span.ot { color: #007020; }
+code > span.al { color: #ff0000; font-weight: bold; }
+code > span.fu { color: #06287e; }
+code > span.er { color: #ff0000; font-weight: bold; }
+ </style>
+</head>
+<body>
+<div id="header">
+<h1 class="title">A sample report</h1>
+<h2 class="author">The author</h2>
+<h3 class="date"><code>Thu May 17 13:03:43 2012</code></h3>
+</div>
+<!-- Setting up R -->
+
+
+<!-- read external r code -->
+
+
+
+<h1 id="the-first-part-of-my-r-script">The first part of my R script</h1>
+<p>Here I can generate my data</p>
+<pre class="sourceCode r"><code class="sourceCode r">a &lt;- <span class="kw">matrix</span>(<span class="kw">rnorm</span>(<span class="dv">100</span>), <span class="dt">nrow =</span> <span class="dv">10</span>)</code></pre>
+<h1 id="results">Results</h1>
+<p>An now the reults are plotted</p>
+<pre class="sourceCode r"><code class="sourceCode r"><span class="kw">image</span>(a)</code></pre>
+<div class="figure">
+<img src="figure/plot-fig.png" /><p class="caption"></p>
+</div>
+<h1 id="more">More</h1>
+<p>Of course I can use inline elemtnts: 3 + 3 = <code>6</code>.</p>
+</body>
+</html>
@@ -0,0 +1,37 @@
+% A sample report
+% The author
+% `Thu May 17 13:03:43 2012`
+
+<!-- Setting up R -->
+
+
+<!-- read external r code -->
+
+
+
+# The first part of my R script
+Here I can generate my data
+
+
+```r
+a <- matrix(rnorm(100), nrow = 10)
+```
+
+
+
+
+# Results
+An now the reults are plotted
+
+
+```r
+image(a)
+```
+
+![](figure/plot-fig.png)
+
+
+# More
+Of course I can use inline elemtnts: 3 + 3 = `6`.
+
+
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,28 @@
+% A sample report
+% The author
+% `r date()`
+
+<!-- Setting up R -->
+`ro warning=FALSE, dev="png", fig.cap="", cache=FALSE or`
+
+<!-- read external r code -->
+```{r reading, echo=FALSE}
+read_chunk("script.r")
+```
+
+# The first part of my R script
+Here I can generate my data
+```{r}
+<<gen-dat>>
+```
+
+# Results
+An now the reults are plotted
+```{r plot-fig, result="asis"}
+<<plot>>
+```
+
+# More
+Of course I can use inline elemtnts: 3 + 3 = `r 3+3`.
+
+
@@ -0,0 +1,8 @@
+
+## @knitr gen-dat
+a <- matrix(rnorm(100), nrow=10)
+
+## @knitr plot
+ image(a)
+
+

0 comments on commit 050bb0b

Please sign in to comment.