From Vincent.Goulet at act.ulaval.ca  Mon May 31 23:13:16 2010
From: Vincent.Goulet at act.ulaval.ca (Vincent Goulet)
Date: Mon, 31 May 2010 17:13:16 -0400
Subject: [Rd] Suggested tidying up
Message-ID: <4C4C31FF-4FAC-41F9-87ED-F09804FD2CCB@act.ulaval.ca>

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



[Rd] Suggested tidying up
Vincent Goulet