## Not run: ------------------------------------
# ## To check all Rd files in a directory, (additionally) skipping the
# ## \references sections.
# files <- Sys.glob("*.Rd")
# aspell(files, filter = list("Rd", drop = "\\references"))
#
# ## To check all Sweave files
# files <- Sys.glob(c("*.Rnw", "*.Snw", "*.rnw", "*.snw"))
# aspell(files, filter = "Sweave", control = "-t")
#
# ## To check all Texinfo files (Aspell only)
# files <- Sys.glob("*.texi")
# aspell(files, control = "--mode=texinfo")
## ---------------------------------------------
## List the available R system dictionaries.
Sys.glob(file.path(R.home("share"), "dictionaries", "*.rds"))
Run the code above in your browser using DataLab