count_words | R Documentation |
This function takes a path to a .Rmd file and returns a word count. For best results each sentence should start on a new line. Inline code chunks should also start on a new line.
count_words(file)
file |
A path to a .Rmd/.qmd file |
# count_words("test.Rmd")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.