[R] Adding a title to a postscript file

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Wed Dec 11 08:51:02 CET 2002


On Wed, 11 Dec 2002, Patrick Connolly wrote:

> I create lots of postscript files which I view with ghostview.  The
> beginning of the files all begin something like
>
> %!PS-Adobe-3.0
> %%DocumentNeededResources: font Helvetica
> %%+ font Helvetica-Bold
> %%+ font Helvetica-Oblique
> %%+ font Helvetica-BoldOblique
> %%+ font Symbol
> %%DocumentMedia: a4 595 841 0 () ()
> %%Title: R Graphics Output
> %%Creator: R Software
>
>
> The consequence is that in ghostview, they are all titled
> 'R Graphics Output'.
>
> Is it possible to add a title at the time the file is created (say,
> defaulting to the name of the file) so that it's visible from within
> ghostview?

Only by patching R.  I'll add this to R-devel.

-- 
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




More information about the R-help mailing list