Description Usage Arguments Value Author(s)
RCodeEditor
subclasses Qt$QPlainTextEdit
to provide
additional functionality suitable for a R code editor, namely, code
indentation and command completion (both using TAB, with indentation
preferred, and completion if already indented). The details of
indentation are not yet customizable.
1 2 3 | # constructor
RCodeEditor(family = "monospace", pointsize = 14,
underscore.assign = FALSE, comp.tooltip = TRUE)
|
family |
Font family to be used. |
pointsize |
Font pointsize to be used. |
underscore.assign |
Logical flag, indicating whether pressing the
underscore key adds the assignment operator |
comp.tooltip |
Logical flag, indicating whether multiple
completions should be indicated by a tooltip. Otherwise, a signal
|
An RCodeEditor instance.
Deepayan Sarkar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.