[R] R crashing with ggplot 2d histogram

Bert Gunter bgunter.4567 at gmail.com
Wed Apr 12 18:40:39 CEST 2017

You will much improve your chance of getting useful help if you read
and follow the posting guide (below). In particular:

1. Versions of R and packages?

2. Show us the (minimal) code that "crashes." Can you create a minimal
artificial data set that does this that we can run?

3. Are there error messages? If so, what are they?


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Wed, Apr 12, 2017 at 4:39 AM,  <zapata at zib.de> wrote:
> Hi! R newbie here. I wrote a script for a correlation plot, a 2d histogram
> (heatmap-like) with ggplot. I've run it before with a smaller dataset and
> it runs on my laptop and does what I want. Now I've extended my dataset
> and R is crashing after the last line which is to generate the plot I
> guess. I get the R session aborted / fatal error message.
> My new dataset is composed of time series for two variables. For each
> variable there are 50 time series with 15.000 values each, so it's in
> total 15000*50= 7.5E5 coordinates for this 2d histogram. Do I have a
> memory problem here or is it just a script issue? Any suggestion to make
> it run? An eli5 answer would be appreciated, my R experience is relatively
> low, I just use it here and there for plotting. Thanks!
> Carlos Zapata
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list