[Rd] [R] pdf() and pch problems

Gavin Simpson gavin.simpson at ucl.ac.uk
Thu Jan 22 16:52:15 CET 2009


On Thu, 2009-01-22 at 15:08 +0000, Brian D Ripley wrote:
> On Thu, 22 Jan 2009, Gavin Simpson wrote:
> 
> > On Thu, 2009-01-22 at 15:21 +0100, Martin Maechler wrote:
> >>>>>>> "TZ" == T Zumbrunn <T.Zumbrunn at unibas.ch>
> >>>>>>>     on Thu, 22 Jan 2009 14:52:37 +0100 writes:
> >>
> >>     TZ> Quoting Brian D Ripley <ripley at stats.ox.ac.uk>:
> >>    >> On Thu, 22 Jan 2009, Robin Hankin wrote:
<snip />
> 
> > I'd be happy to patch any/all of those sources if someone in R Core
> > would be willing to take a lot and possibly apply them?
> 
> Send them to me and I'll take a look.

Thanks Brian,

Attached is a patch to pdf.Rd against the SVN trunk, revision 47685,
which modifies the emphasis in the useDingbats argument and adds
information about the workaround on unix systems only. Please edit/use
as you see fit.

If this is sufficient to document the issue and workaround I won't patch
R-admin.texi as there doesn't appear to be anywhere suitable to insert
this note in that file - most platform specific information appears to
pertain to /building/ R not tweaking your system to work around a
problem whilst using R.

In case the attachment gets mangled somewhere on long the line, you can
grab the patch from:

http://www.homepages.ucl.ac.uk/~ucfagls/files/pdf.Rd.patch

All the best,

Gavin

> 
> >
> > All the best,
> >
> > G
> >
> >>
> >>
> >>
> >>    >>> le112:~/scratch/R-2.8.1% R --vanilla --quiet
> >>    >>>> pdf(file='~/f.pdf')
> >>    >>>> plot(1:10 , pch=1)
> >>    >>>> dev.off()
> >>    >>> null device
> >>    >>> 1
> >>    >>>> sessionInfo()
> >>    >>> R version 2.8.1 (2008-12-22)
> >>    >>> i686-pc-linux-gnu
> >>    >>>
> >>    >>> locale:
> >>    >>> LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
> >>    >>>
> >>    >>> attached base packages:
> >>    >>> [1] stats     graphics  grDevices utils     datasets  methods
> >>    >>> base    > q()
> >>    >>> le112:~/scratch/R-2.8.1%
> >>    >>>
> >>    >>>
> >>    >>>
> >>    >>>
> >>    >>>
> >>    >>>
> >>    >>>
> >>    >>>
> >>    >>> --
> >>    >>> Robin K. S. Hankin
> >>    >>> Uncertainty Analyst
> >>    >>> University of Cambridge
> >>    >>> 19 Silver Street
> >>    >>> Cambridge CB3 9EP
> >>    >>> 01223-764877
> >>    >>>
> >>    >>> ______________________________________________
> >>    >>> R-help at r-project.org mailing list
> >>    >>> 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.
> >>    >>>
> >>    >>
> >>    >> --
> >>    >> 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 272866 (PA)
> >>    >> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> >>    >>
> >>    >> ______________________________________________
> >>    >> R-help at r-project.org mailing list
> >>    >> 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.
> >>
> >>     TZ> ______________________________________________
> >>     TZ> R-help at r-project.org mailing list
> >>     TZ> https://stat.ethz.ch/mailman/listinfo/r-help
> >>     TZ> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> >>     TZ> and provide commented, minimal, self-contained, reproducible code.
> >>
> >> ______________________________________________
> >> R-help at r-project.org mailing list
> >> 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.
> > -- 
> > %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
> > Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
> > ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
> > Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
> > Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
> > UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
> > %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
> >
> > ______________________________________________
> > R-devel at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
> >
> 
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdf.Rd.patch
Type: text/x-patch
Size: 1778 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20090122/f9f0438f/attachment.bin>


More information about the R-devel mailing list