[R] R crashes with "Error in UseMethod("depth")" when resizing ggplot windows
Eike Petersen
eike.petersen at fp-tga.de
Tue Feb 24 22:13:43 CET 2015
Hello everyone,
Quite frequently I encounter crashes when resizing ggplot windows. The
error message is always as follows:
> Error in UseMethod("depth") :
> no applicable method for 'depth' applied to an object of class "NULL"
>
> Process R exited abnormally with code 255 at Tue Feb 24 21:51:18 2015
The error seems to occur rather unpredictably when I do several
resizings, e.g. moving a plot window from one monitor to another using
Windows+Arrow Key several times. It only seems to happen when plotting
rather large data frames.
I was about to file this as a ggplot2 issue, but then I realized that I
can't reproduce it using RStudio - normally, I use emacs/ESS (on Windows
7). So maybe this is a bug related to the "plot engine"...? The problem
is that I can't even do a traceback(), since R is crashed.
How should I proceed? Are there any other options to retrieve valuable
debug information?
Kind regards,
Eike
More information about the R-help
mailing list