我在Mac上使用R。我尝试将我的Rprofile文件移动到另一个位置,但是R没有启动。当我试图将Rprofile文件放回其原始位置时,我记不起它到底来自哪个文件夹。
我的Rprofile文件位于/Library/Frameworks/R.framework/...
现在R(和RStudio)无法启动,R给出这个错误消息:
Error: package 'grDevices' does not have a namespace
*** caught segfault ***
address 0xa8000000, cause 'memory not mapped'
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspaceRStudio给出了这样的信息:
The R session had a fatal error.
ERROR r error 4 (R code execution error) [errormsg=Error : package 'utils' does not have a namespace
]; OCCURRED AT: core::Error r::exec::evaluateString(const std::string &, SEXP *, sexp::Protect *) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:255我假设R找不到Rprofile文件。如何让R(和RStudio)重新启动?
发布于 2014-05-25 21:02:11
我也犯了同样的错误,这有点让人恼火。对我来说,我告诉RStudio使用x64 (64位)。
我必须完全卸载R,启动Rstudio,它会询问R的位置
我安装了bot 64和32位版本
将RStudio指向新安装的R,但这次是32位位置。一开始一切都很好。
使用RStudio 0.98.507和R 3.1.0 Windows7 64位完成
https://stackoverflow.com/questions/16450831
复制相似问题