tidyText | R Documentation |
Print text in a tidy way.
tidyText(
text,
leftSign = "\\{",
commaSign = ",",
rightSign = "\\}",
showN = 1000,
removeSpace = TRUE
)
text |
the text to be tidy. |
leftSign |
the left one of paired sign. |
commaSign |
the unpaired sign, default is ",". |
rightSign |
the right one of paired sign. |
showN |
integer, the number of characters to show. |
removeSpace |
logical, remove unnecessary space, the default is TRUE. |
text = 'list1:{A:{a = 1, b = 3, c = "4"}, B:{x = "", y = "1-3"}}'
tidyText(text)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.