Skip to content

Commit 45d6d83

Browse files
committed
Include link, rewrite example
1 parent 9143869 commit 45d6d83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/visual-editor/technical.qmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ To insert an executable code chunk, use the **Insert -\> Code Chunk** menu item,
8282

8383
Then press the **Enter** key. Note that `r` could be another language supported by `knitr` (e.g., `python` or `sql`) and you can also include a chunk label and other chunk options.
8484

85-
To include inline R code, you just create normal inline code (e.g., by using backticks or the <kbd>⌘ D</kbd> shortcut) but preface it with `{r}` (or `r`). For example, this inline code will be executed by `knitr`: `` `{r} Sys.Date()` ``.
85+
To include [inline R code](/docs/computations/inline-code.qmd), create normal inline code (e.g., by using backticks or the <kbd>⌘ D</kbd> shortcut) but preface it with `{r}` (or `r`). For example, to include the current date using the R function `Sys.Date()` you would use: `` `{r} Sys.Date()` ``.
86+
8687
Note that when the code displays in visual mode it won't have the backticks (but they will still appear in source mode).
8788

8889
### Running Chunks

0 commit comments

Comments
 (0)