Hi Kevin thanks for the great work!
Yes, if you look very hard you can find some stuff discussing R and aspell. But not much.
Within R, aspell() is a function found in the "utils" package which ships with every release of R. The canonical reference from the R-core team is:
It would be great if you could include a link to the page above from your page at:
A few interesting notes:
1. The utils::aspell function built into R doesn't work out of the box. GNU aspell has to be installed, as well as a dictionary. Otherwise you'll get various errors such as "no suitable spell checker found".
2. The R-help pages give instructions on how to use aspell to check files in the local directory, not R-objects within the R-environment. To spell-check R-objects (e.g. character vectors, dataframe columns, etc.), you need to first convert the R-object to a factor using a function such as as.factor(), and then proceeding with spell checking.
3. "Aspell" (capitalized) from the
omegahat.org site is a different package from the built-in "aspell" (lowercase) function. Once GNU aspell is installed you can actually do spell-checking without omegahat "Aspell", but it does provide additional, powerful control over aspell function. Also, Aspell (capitalized) appears to offer replacement word suggestions right out of the box.
HTH,
Bill.