Check for grammar errors on the selected text on a document opened at RStudio and recommend corrections when possible.
Usage
check_selection(ask_modify = TRUE, language = NULL)
Arguments
- ask_modify
logical. When TRUE, a prompt will be shown asking to alter the document with the correction or not.
- language
character. Code like en-US, fr-FR, etc. Or auto for automatic language detection. Check the list of supported languages with check_languages().
Value
No object is return from this function, as it expects to be run in an interactive session.