[R] pdf documentation from a package and date format
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Thu Jun 15 08:56:49 CEST 2000
On Wed, 14 Jun 2000, Ramon Diaz-Uriarte wrote:
> Dear All,
>
> When generating pdf documentation for a package (using R CMD Rd2dvi --pdf), is
> there a way to get the date to use the typical international standard of day
> month year instead of the US one of month day, year?
It's a TeX-ism. Rd2dvi writes \today. You can redefine that macro in
your Rd.cfg file. The standard definition is
\def\today{\ifcase\month\or
January\or February\or March\or April\or May\or June\or
July\or August\or September\or October\or November\or December\fi
\space\number\day, \number\year}
which suggests
\renewcommand{\today}{\number\day\space\ifcase\month\or
January\or February\or March\or April\or May\or June\or
July\or August\or September\or October\or November\or December\fi
\space\number\year}
is what you want.
By the way, I believe the actual international standard is 2000 June 15,
even if no one uses it. `International' seems to be re-defined in the US!
--
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