Skip to content
Discussion options

You must be logged in to vote

Is there a reason you are using ```{dot} which means evaluate the code rather than ```dot?
Knitr/Quarto will see the dot code cell and try to evaluate it if possible.

If you need the brackets to appear but don't want the code cell to be evaluated, use the double brackets escaping syntax: ```{{dot}}.

You should not use R inline syntax which is knitr specific. the recommended approach is YAML, meaning nothing but the language should be between the brackets.

```{r echo=FALSE,result='asis'}

Should be

```{r}
#| echo: false
#| result: asis

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@mcanouil
Comment options

Answer selected by harrelfe
@harrelfe
Comment options

@mcanouil
Comment options

@harrelfe
Comment options

@mcanouil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
markdown Related to markdown-like output format
2 participants