Storing a histogram from ggplot2 for retrieval later
Is it possible to store the information generated from `geom_histogram()` in such a way that it can be retrieved at a latter stage? I want to calculated histograms of a large dataset, and to store it so that I can added another layer of information at a later stage.

I did previously think about using a `pdf` or `jpeg` to do this (and asked a [question][1] recently on the topic) but I think that it would be cleaner if I managed to use the actual data.


  [1]: http://stackoverflow.com/questions/9917049/inserting-an-image-to-ggplot2
Storing a histogram from ggplot2 for retrieval later
===

Is it possible to store the information generated from `geom_histogram()` in such a way that it can be retrieved at a latter stage? I want to calculated histograms of a large dataset, and to store it so that I can added another layer of information at a later stage.

I did previously think about using a `pdf` or `jpeg` to do this (and asked a [question][1] recently on the topic) but I think that it would be cleaner if I managed to use the actual data.


  [1]: http://stackoverflow.com/questions/9917049/inserting-an-image-to-ggplot2