Skip to content

Commit

Permalink
Change R default device to SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaiacs committed May 28, 2024
1 parent 2590537 commit 936d607
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ Annotation of code blocks is also supported. For example,

## Creation of figure with R

```{r}
#| echo: false
knitr::opts_chunk$set(dev = 'svg')
```

```{r}
plot(runif(10, min=0, max=10), type='l')
```
Expand Down Expand Up @@ -86,4 +92,4 @@ Binder uses the information in `runtime.txt` to launch [RStudio IDE](https://pos
## References

::: {#refs}
:::
:::

0 comments on commit 936d607

Please sign in to comment.