cjk_escape | R Documentation |
All CJK characters in the file(s) found at the specified path are substituted by their Unicode escape sequences (\u + 4 digit hex number or \U + 8 digit hex number where necessary).
cjk_escape(path, outdir = NULL, verbose = TRUE)
path |
the path to a directory or a single file. |
outdir |
the directory where the output files are written. Defaults to the subdirectory
|
verbose |
whether to print a message for each output file. |
If path
is a directory, the replacement is performed for all files at that location
(subdirectories are ignored). If outdir
is the same as path
, the original files
are overwritten without warning.
If path
is a file, the replacement is limited to this file. If outdir
is the same
as dirname(path)
, the files are overwritten without warning.
No return value, called for side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.