Please discuss this on R-devel: it is way off-topic for R-help.
'11' is the number of arguments, it is not 'magic'.
On Tue, 6 Feb 2007, Geoff Russell wrote:
> Hi All,
>
> I've started work on a MetaPost device driver (please don't hold
your
> breath).
>
> I've copied the XFig driver and renamed everything and this works, I
can
> open the new metapost() and it works exactly like the xfig
> driver. Now all I have to do is the actual work!
>
> Just one question. There is a magic number in ExtEntries as follows:
>
> static const R_ExternalMethodDef ExtEntries[] = {
> EXTDEF(PicTeX, 6),
> EXTDEF(PostScript, 16), EXTDEF(XFig, 11),
> EXTDEF(MetaPost, 12), /* Is 12 is OK */
> EXTDEF(PDF, 13),
>
> I just picked 12, is this Ok, or does it have some special significance?
>
> Cheers,
> Geoff Russell.
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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