View source: R/directionchange-functions.R
This function adds a Unicode direction mark to tokens types for punctuations and symbols to correct how right-to-left languages (e.g. Arabic, Hebrew, Persian, and Urdu) are printed in HTML-based consoles (e.g. R Studio). This is an experimental function subject to future change.
1 2 3 | tokens_tortl(x)
char_tortl(x)
|
x |
the input object whose punctuation marks will be modified by the direction mark |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.