parseText | R Documentation |
Function to parse text in character vector into individual elements by quotes and whitespace, keeping quoted text together in same element (with whitespace but without quotation marks).
parseText(
strv,
qt = "'",
keepQuotes = FALSE,
stripComments = TRUE,
comment = "#",
verbose = FALSE
)
strv |
|
qt |
|
keepQuotes |
|
stripComments |
|
comment |
|
verbose |
|
Each element in the returned list is a character vector whose elements consist of
quoted text blocks and 2) unquoted text elements split by white space in the order they occur in the element of the character vector.
numbered list, with elements corresponding to the equivalent vector element in strv AFTER comments have been removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.