Skip to content

Commit

Permalink
changes due to yihui/xfun@525816e
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed May 15, 2024
1 parent b26aa39 commit 931e0a2
Show file tree
Hide file tree
Showing 56 changed files with 285 additions and 276 deletions.
12 changes: 6 additions & 6 deletions 001-minimal.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ See [output here](https://github.com/yihui/knitr-examples/blob/master/001-minima
A _paragraph_ here. A code chunk below (remember the three backticks):


```r
``` r
1 + 1
```

```
## [1] 2
```

```r
``` r
0.4 - 0.7 + 0.3 # what? it is not zero!
```

Expand All @@ -37,13 +37,13 @@ A _paragraph_ here. A code chunk below (remember the three backticks):
It is easy.


```r
``` r
plot(1:10)
```

![plot of chunk unnamed-chunk-2](https://db.yihui.org/knitr-examples/figure/001-minimal-unnamed-chunk-2-1.png)

```r
``` r
hist(rnorm(1000))
```

Expand All @@ -63,7 +63,7 @@ You can write code within other elements, e.g. a list

1. foo is good

```r
``` r
strsplit("hello indented world", " ")[[1]]
```

Expand All @@ -77,7 +77,7 @@ Or inside blockquotes:
> Here is a quote, followed by a code chunk:
>
>
> ```r
> ``` r
> x = 1:10
> rev(x^2)
> ```
Expand Down
Loading

0 comments on commit 931e0a2

Please sign in to comment.