R
Bindings: %r, %r.ir, %r.shiny
| Binding | Use it for |
|---|---|
%r | R console-style scripts, with knitr-rendered output (plots, tables) inline |
%r.ir | R via an IRKernel/Jupyter-style interactive session |
%r.shiny | Running an R Shiny application, rendered in an iframe inside the paragraph |
%r
summary(mtcars)
plot(mtcars$mpg, mtcars$hp)
Configuration
| Property | Default | Description |
|---|---|---|
skeyenote.R.cmd | R | Path to the R binary executable. |
skeyenote.R.knitr | true | Whether to render output through knitr. |
skeyenote.R.maxResult | 1000 | Max number of dataframe rows to display. |
skeyenote.R.image.width | 100% | Width used when rendering R plots. |
skeyenote.R.shiny.portRange | (any port) | Port range Shiny apps are allowed to launch on, as <start>:<end>. |
skeyenote.R.shiny.iframe_width / skeyenote.R.shiny.iframe_height | 100% / 500px | Size of the iframe a Shiny app is rendered in. |
These are set by your administrator from the interpreter settings screen.