R Session Aborted when loading package

◇◆丶佛笑我妖孽 提交于 2021-01-28 19:56:51

问题


My RStudio (0.99.879, R 3.2.3, OSX 10.11.3) crashes with the R Session Aborted error box every time I run require(ggvis) (v0.4.2). I've reinstalled R, RStudio and ggvis - no change. Any idea what's causing this, or how to traceback?

Running Sys.getenv() gives me this report, if it helps.


回答1:


Sometimes startup errors like this can be caused by out-of-date dependent packages. You can try updating the packages that ggvis depends on with:

db <- available.packages()
deps <- tools::package_dependencies("ggvis", db)$ggvis
install.packages(deps)



回答2:


You should increase the memory size. This will solve your problem. memory.limit(size=4096) #This will make the memory 4MB



来源:https://stackoverflow.com/questions/35536035/r-session-aborted-when-loading-package

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!