MLK
MLK

Reputation: 21

Inline r code chunk r studio visual editor

I have a problem finding the option to create an inline r code chunk in an r-markdown document in r-studios visual editor. In the normal editor the syntax is `r variable_here`, but that does not work in the visual editor.

I could switch to the normal editor to insert the chunk, but in my experience switching back and forth changes the document and things in the document breaks unintentionally.

Upvotes: 2

Views: 259

Answers (1)

Naomi
Naomi

Reputation: 15

According to this help-guide you just have to press the command ⌘ and 'D' key together as a short-cut. It seems to work.

https://rstudio.github.io/visual-markdown-editing/technical.html

Upvotes: 0

Related Questions