在我使用 Aspell 之前,我已经在终端 (OS X 10.9) 中安装了 aspell 和英语词典。当我尝试> aspell("duncan")
以http://www.omegahat.org/Aspell/aspell.html为例时,控制台显示:
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") : cannot open file 'duncan': No such file or directory
我认为这可能是因为 aspell{utils} 可能与 Aspell 包的 aspell 不同。然后我尝试install.packages("Aspell", repos = "http://www.omegahat.org/R")
根据http://www.omegahat.org/Aspell/安装 Aspell,但 R 显示:
Warning: unable to access index for repository http://www.omegahat.org/R/bin/macosx/contrib/3.1
package ‘Aspell’ is available as a source package but not as a binary
Warning message:
package ‘Aspell’ is not available (for R version 3.1.1)
此外,我完全被R CMD INSTALL Aspell_0.1-0.tar.gz
(http://www.omegahat.org/Aspell/)弄糊涂了。我应该在哪里输入和运行它?
如何在 R 中正常使用 Aspell?或者你能给我一份好的手册吗?提前致谢。