insert_arrows | R Documentation |
RStudio add-in to insert either ->
, ->>
,
<-
or <<-
at the cursor position.
rs_insert_arrow_rl(context = rs_get_context())
rs_insert_arrow_rl2(context = rs_get_context())
rs_insert_arrow_lr(context = rs_get_context())
rs_insert_arrow_lr2(context = rs_get_context())
context |
(class |
use hotkeys combination ALT + - to insert <-
in RStudio.
Assignment operators assignOps.
Other 'Insert at cursor position' addins:
insert_line
## Not run:
\donttest{
library(addins.rs)
rs_insert_arrow_rl()
## <-
rs_insert_arrow_rl2()
## <<-
rs_insert_arrow_lr()
## ->
rs_insert_arrow_lr2()
## ->>
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.