2

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.

geotheory
  • 22,624
  • 29
  • 119
  • 196
  • Does it help if you try re-installing the dependencies of `ggvis` as well? E.g. `deps <- tools::package_dependencies("ggvis", db = available.packages())$ggvis; install.packages(deps)` – Kevin Ushey Feb 23 '16 at 00:07
  • Oooh that worked, thanks! Wasn't aware of `tools::package_dependencies `.. Want to add as answer for the tick? – geotheory Feb 23 '16 at 00:09

2 Answers2

3

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)
Kevin Ushey
  • 20,530
  • 5
  • 56
  • 88
-1

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