问题
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