Permalink
Browse files

run knit-all.R on all examples

  • Loading branch information...
yihui committed Jun 10, 2012
1 parent 2c97e1d commit 360722b5cc7da72b2d4f1aaaa0aefe3a57e023fb
@@ -9,8 +9,6 @@ set.seed(123)
rnorm(5)
```
-
-
```
## [1] -0.56048 -0.23018 1.55871 0.07051 0.12929
```
@@ -25,22 +25,16 @@ Now we write some code chunks in this markdown file:
(x <- 1 + 1)
```
-
-
```
## [1] 2
```
-
-
```r
## boring random numbers
set.seed(123)
rnorm(5)
```
-
-
```
## [1] -0.56048 -0.23018 1.55871 0.07051 0.12929
```
@@ -62,7 +62,7 @@ @Manual{R-knitr
title = {knitr: A general-purpose package for dynamic report generation in R},
author = {Yihui Xie},
year = {2012},
- note = {R package version 0.5.11},
+ note = {R package version 0.6},
url = {http://yihui.name/knitr/},
}
@Manual{R-MASS,
@@ -86,7 +86,7 @@ qplot(speed, dist, data = cars) + geom_smooth()
# Reproducible research
-It is good to include the session info, e.g. this document is produced with **knitr** version `0.5.11`. Here is my session info:
+It is good to include the session info, e.g. this document is produced with **knitr** version `0.6`. Here is my session info:
@@ -39,5 +39,5 @@ sum(x^2) # chi-square distribution with df 5
sum((x - mean(x))^2) # df is 4 now
```
-Done. Call silk('knitr-silk.R') to make silk from sow's ear now and knit a
+Done. Call spin('knitr-spin.R') to make silk from sow's ear now and knit a
lovely purse.

0 comments on commit 360722b

Please sign in to comment.