How can I use spell check in Rmarkdown?

medfordwinter picture medfordwinter · Apr 19, 2016 · Viewed 21.7k times · Source

I want to write a report with Rmarkdown. However, I am a little worried about my spelling. I hope there is a package installed in my Rstudio which can automatically help me spell check.

So, is there such a package or is there a way to solve this problem?

Answer

lmo picture lmo · Apr 19, 2016

Here are three ways to access spell checking in an rMarkdown document in rstudio:

  1. A spell check button to the right of the save button (with "ABC" and a check mark).
  2. Edit > Check Spelling...
  3. The F7 key

A keyboard alternative to option 2 is alt + e + s. That is, while holding down the alt key, type e followed by s.