Skip to content
Prev 15792 / 63461 Next

RFC: hexadecimal constants and decimal points

On 4/17/05, Prof Brian Ripley <ripley@stats.ox.ac.uk> wrote:
In the windows batch language the following (translated to R):
       month <- substr("20050817",5,2)
must be further processed to removed any leading zero.  Mostly
people don't even realize this and just wind up writing erroneous
programs.  Its actually a big nuisance IMHO.