在我使用Aspell之前,我在终端(OS X 10.9)中安装了aspell和english dictionary。当我按 http://www.omegahat.org/Aspell/aspell.html 举例说明> aspell("duncan")
时,控制台显示:
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不同。然后我尝试根据 http://www.omegahat.org/Aspell/ 按install.packages("Aspell", repos = "http://www.omegahat.org/R")
安装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?或者你可以给我一本好的手册吗? 提前谢谢。