Ramon Diaz-Uriarte
2000-Jun-14 15:50 UTC
[R] pdf documentation from a package and date format
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? Thanks, Ramon -- Ramón Díaz-Uriarte Dept. Zoology and Statistics University of Wisconsin-Madison Madison, WI 53706-1381 email: rdiazuri at students.wisc.edu (NOTE: starting 15-July-2000 new email: ramon-diaz at teleline.es) phone: 608-238-8041 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian D Ripley
2000-Jun-15 06:56 UTC
[R] pdf documentation from a package and date format
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._