Insert text at the cursor position.
rs_insert_text(text = NULL, context = rs_get_context(), spaces = FALSE)(character)
The text to insert.
(class document_context)
Object with context of active RStudio document.
(logical)
If TRUE, ensures that text is surrounded by spaces.