[Rd] Suggested tidying up

Vincent Goulet Vincent.Goulet at act.ulaval.ca
Mon May 31 23:13:16 CEST 2010


Package grDevices has a function cm() to convert from inches to centimeters. Its definition is:

cm <- function(x) 2.54*x

As far as I can tell, the function is not used anywhere in the R sources (I grepped for "cm(", "cm)" and ", cm".) I did not check for all packages on CRAN, though.

May I propose to remove this apparently useless function from the sources?

[I stubbled upon this function because my package actuar also has a cm() function that masks the one from grDevices.]


Dr. Vincent Goulet
Full Professor
École d'actuariat, Université Laval, Québec 
vincent.goulet at act.ulaval.ca   http://vgoulet.act.ulaval.ca



More information about the R-devel mailing list