当 I 时require(gWidgetstcktk)
,我得到一个无限循环,其中包含看似无穷无尽的错误消息,如下所示:
error reading package index file /Library/Frameworks/R.framework/Versions/2.14/Resources/library/tcltk2/tklibs/ttktheme_clearlooks/pkgIndex.tcl: can't find package tile
error reading package index file /Library/Frameworks/R.framework/Versions/2.14/Resources/library/tcltk2/tklibs/ttktheme_clearlooks/pkgIndex.tcl: too many nested evaluations (infinite loop?)
(在每次迭代中,路径都是不同的。这些消息的结尾似乎是重要的部分:can't find package tile
和too many nested evaluations (infinite loop?)
我像往常一样安装了软件包,install.package()
并且引用的文件似乎存在。gWidgets
似乎加载得很好。我在 OSX 10.7.4 上通过 RStudio 0.96.231 运行 R 2.14.1。这里出了什么问题?
更新:我现在看到问题出在tcltk2
包上。