问题描述
如何在Rstudio中配置和使用拼写检查?在工具>全局选项>拼写中,我已经从"/usr/lib/rstudio/resources/dictionaries/en_US.dic"中将主要词典语言设置为English(US),将自定义词典设置为en_us.
仍然我看不到任何拼写错误的指示(例如红色标记)!
How to configure and use spell check in Rstudio? In the tools>Global option>spelling I have set the main dictionary language as English(US) and custom dictionary as en_us from "/usr/lib/rstudio/resources/dictionaries/en_US.dic".
Still I do not see any indication (such as red make) on wrong spellings!!
推荐答案
RStudio没有按需输入的拼写检查器;您必须手动调用拼写检查.为此,请转到编辑"菜单,然后选择检查拼写",或按F7键.
RStudio does not have an as-you-type spell checker; you'll have to invoke spell checking manually. To do this, go to the Edit menu and choose Check Spelling, or press F7.
请注意,不对代码文件执行拼写检查,而仅对文档文件执行拼写检查(即,您不会对.R文件进行拼写检查,而会在.Rmd文件中进行拼写检查).
Note that spell checking is not performed on code files, only on document files (i.e. you won't get spell checking an .R file, but you will in an .Rmd file).
这篇关于Rstudio中的拼写检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!