Description Usage Arguments Value
Utility function. For a vector of character strings, each string that does
not commence either with "> "
(the console command prompt) or "+
"
(the console continuation prompt) is removed. These prompt characters are
then deleted from each of the remaining strings.
1 | strippedConsoleText(charVec)
|
charVec |
A character vector (as might be read from the system clipboard, where each element corresponds a new line of text). Intended to contain text copied from the R console. |
A character vector obtained from charVec
by deleting those
elements not commencing with "> "
or "+ "
, and from the
remaining strings deleting these first two characters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.