rmdwcl | R Documentation |
Counts words, characters and non-whitespace characters in a string. Is used in rmdcount
, see details there.
rmdwcl(rmd, space = "[[:space:]]", word = "[[:space:]]+", line = "\n")
rmd |
character: R Markdown document as string |
space |
character: pattern to split a text at spaces (default: |
word |
character: pattern to split a text at word boundaries (default: |
line |
character: pattern to split lines (default: |
a list
file <- system.file('rmarkdown/rstudio_pdf.Rmd', package="rmdwc") fcont <- readChar(file, file.info(file)$size) rmdwcl(fcont)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.