在我的一台PC上,当我构建任何R包时,我得到以下致命错误
* checking for file 'forecast/DESCRIPTION' ... OK
* preparing 'forecast':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building binary distribution
WARNING: some HTML links may not be found
Error in setwd(owd) : cannot change working directory
ERROR
* installation failed但相同的软件包在我的另一台PC上编译得很好。我不知道是什么导致了这一切。其他人有没有看到过类似的东西?
使用Windows XP、R2.10.1、Rtools 2.10。
发布于 2009-12-27 19:29:17
终于找到了问题所在。我在一台机器上的文件Rprofile.site中设置了变量.Library.site,使其指向一个不存在的目录。它从未影响过R的正常使用,但在我试图编译一个包时出现了。
谢谢你的建议。
https://stackoverflow.com/questions/1951070
复制相似问题