Description Usage Arguments Value Functions Examples
The function behind the RegExplain Selection and RegExplain File addins. Opens the RegExplain gadget interface in an RStudio viewer pane.
1 2 3 4 5 6 7 8 9 |
pattern |
Regular Expression to edit or visualize using RegExplain |
start_page |
Open gadget to this tab, one of |
text |
Text to explore in gadget (editable using interface) |
... |
Arguments passed on to
|
The regular expression built in the app is returned as a character string.
regexplain_file
: Opens file chooser to pick file, reads lines,
returns first regexplain.addin.max_lines
(default 100). Used in the
"Regexplain File" regexplain_addin.
regexplain_web
: Launches the RegExplain gadget in a browser or an
RStduio viewer pane.
1 2 3 4 5 6 | ## Not run:
regexplain_gadget(text = month.name, pattern = "(Ma|Ju)|(er)")
regexplain_web(text = month.name, pattern = "(Ma|Ju)|(er)")
regexplain_file()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.