Learn R Programming

⚠️There's a newer version (0.3.0) of this package.Take me there.

rmdwc

If you are using R Markdown documents then you have sometimes restrictions about the size of the documents, e.g. number of words, number of characters or non-whitespace characters. rmdcount() computes these counts and returns the result as data frame.

# Count the number of words, number of characters or non-whitespace characters of files
library("rmdwc")
files <- system.file('rmarkdown/rstudio_pdf.Rmd', package="rmdwc")
rmdcount(files)
# Within a R Markdown document in a code chunk
# ```{r}
# library("rmdwc")
# rmdcount()
# ```

Copy Link

Version

Install

install.packages('rmdwc')

Monthly Downloads

506

Version

0.1.1

License

GPL-3

Maintainer

Sigbert Klinke

Last Published

August 27th, 2020

Functions in rmdwc (0.1.1)

rmdwcl

Word-, character and non-whitespace characters count for a text
rmdcount

Word, character and non-whitespace characters count