[R] Overal plot title after mfrow and .Rhistory questions.

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Jun 28 23:33:29 CEST 2000

On Wed, 28 Jun 2000, Adrian Vance Custer wrote:

> Hello everyone,
> I had a few questions that I have not been able to figure out despite a lot of
> reading.

Could you figure out how to tell us your platform and R version, please?

> 1) Adding a title to a multiplot figure:
> If I plot multiple plots with 
> >par(mfrow=c(2,6))
> how do I add an overall title to the figure, not the individual plots?

[Ross has answered here]

> 2) Saving histories on the fly:
> Is there a .Rhistory equivalent to
> >save.image()
> ? I would like to be able to save the .RData and .Rhistory files and move to
> another machine. Right now I have to quit R which looses the plots I am working
> on.

On Windows, yes (called savehistory).
Should be easy to add on Unix (non-GNOME).

> 3) Setting the size .Rhistory:
> What is the maximum size of .Rhistory and where is it set?

On Windows, 16K chars or  512 lines, in consolestructs.h 

On Unix (non-GNOME), 512 lines, in src/unix/system.c. Can be overriden by
the environment variable R_HISTSIZE.

GNOME: ditto, in file src/unix/gnome/system.c

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list