当我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似乎装载得很好。我在OSX10.7.4上通过RStudio 0.96.231运行R2.14.1。这里出什么问题了?
更新:我现在看到问题来自于tcltk2包。
发布于 2012-07-25 14:40:35
不应该发生这种事。首先,我建议尝试卸载软件包,然后重新安装它。在此过程中可能出现了错误。您应该做的另一件事是在执行此操作(或install.packages(______, dependencies = TRUE))时选择“安装所有依赖项”。您是否安装了包的所有相关依赖项?也许这个库需要一个你没有的不同的库。
https://stackoverflow.com/questions/11651352
复制相似问题