-
Notifications
You must be signed in to change notification settings - Fork 0
/
par.Rmd
84 lines (62 loc) · 1.49 KB
/
par.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
title: "Untitled document"
params:
a: "default_params_a"
b: "default_params_b"
---
Fpoo
```{r}
blah = function() {
}
params$a
params$b
```
Baz
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
```{r}
origCache <- knitr::opts_chunk$get("cache.path")
message("HERE")
message(origCache)
knitr::opts_knit$get("verbose")
```
```{r}
12
```
## R Markdown
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
When you click the **Knit** button a document 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:
```{r cars}
as.data.frame(summary(cars))
```
```{r}
1+1
2+2
print(Sys.time())
```
```{r cache=F,dynamic.cache=T,child.md='child.Rmd'}
```
```{r cache=F,dynamic.cache=T,child.md='child2.Rmd'}
```
## Including Plots
You can also embed plots, for example:
```{r pressure, echo=FALSE}
library(ggplot2)
knoter::multipage(list(qplot(1:10),qplot(20:30),qplot(20:30),qplot(20:30),qplot(20:30)))
```
Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot.
```{r echo=F,excel=T}
1+1
4+4
foobar=data.frame(a=1:10,b=1:10)
foobar
foobar
```
This is the next
```{r echo=F}
1+1
2+2
knoter::excel(foo=data.frame(a=1:10,b=1:10))
knoter::excel(bar=data.frame(a=1:10,b=1:10))
```