From 38138960e2b83587ba95b67c0f578f6c3c4ecc28 Mon Sep 17 00:00:00 2001 From: Raniere Silva Date: Tue, 28 May 2024 18:24:56 +0200 Subject: [PATCH] Change R default device to SVG --- index.qmd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.qmd b/index.qmd index 3bc1921..12f64f2 100644 --- a/index.qmd +++ b/index.qmd @@ -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') ``` @@ -87,4 +93,4 @@ Binder uses the information in `runtime.txt` to launch [RStudio IDE](https://pos ## References ::: {#refs} -::: \ No newline at end of file +:::