[R] Roman numeral question

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Thu Oct 16 23:48:33 CEST 2008

2008/10/16 Erin Hodgess <erinm.hodgess at gmail.com>:
> Hi R People!
> Is there a setup for Roman numerals similar to that of LETTERS and
> letters, please?
> I was putting together a randomized block design and thought that it
> might be nice for factors.
> Thanks,
> Erin

 as.roman() in utils:

 > library(utils)
 > as.roman(1:10)
 [1] I    II   III  IV   V    VI   VII  VIII IX   X


More information about the R-help mailing list