Skip to content
Prev 60915 / 63421 Next

Feature Request: Allow Underscore Separated Numbers

So far I would say we've had some good contributions on this thread. 
Ivan's suggested patches show that the change isn't completely trivial, 
but is doable.

However, we haven't had any input from an R Core member, so I consider 
the proposal to be essentially dead.

If an R Core member decides to resurrect it, here's what I'd suggest is 
still needed:

  - a formal definition of where the separator may occur, and a 
justificaton for that choice, and comparison to other languages.

  - patches to documentation for the changes.  These include the manuals 
and the ?NumericConstants help topic, and probably others.

  - tests to add to "R CMD check" for packages to see if the new syntax 
is being used without specifying that "R >= 4.3.0" is a requirement.

Duncan Murdoch

Thread (20 messages)

Devin Marlin Feature Request: Allow Underscore Separated Numbers Jul 14 @vi@e@gross m@iii@g oii gm@ii@com Feature Request: Allow Underscore Separated Numbers Jul 14 Ben Bolker Feature Request: Allow Underscore Separated Numbers Jul 14 @vi@e@gross m@iii@g oii gm@ii@com Feature Request: Allow Underscore Separated Numbers Jul 14 GILLIBERT, Andre Feature Request: Allow Underscore Separated Numbers Jul 14 Jan van der Laan Feature Request: Allow Underscore Separated Numbers Jul 15 Duncan Murdoch Feature Request: Allow Underscore Separated Numbers Jul 15 Gabor Grothendieck Feature Request: Allow Underscore Separated Numbers Jul 15 @vi@e@gross m@iii@g oii gm@ii@com Feature Request: Allow Underscore Separated Numbers Jul 15 @vi@e@gross m@iii@g oii gm@ii@com Feature Request: Allow Underscore Separated Numbers Jul 15 Ivan Krylov Feature Request: Allow Underscore Separated Numbers Jul 15 Jim Hester Feature Request: Allow Underscore Separated Numbers Jul 15 Duncan Murdoch Feature Request: Allow Underscore Separated Numbers Jul 15 Jim Hester Feature Request: Allow Underscore Separated Numbers Jul 15 Bill Dunlap Feature Request: Allow Underscore Separated Numbers Jul 15 @vi@e@gross m@iii@g oii gm@ii@com Feature Request: Allow Underscore Separated Numbers Jul 15 Ivan Krylov Feature Request: Allow Underscore Separated Numbers Jul 16 Duncan Murdoch Feature Request: Allow Underscore Separated Numbers Jul 16 Duncan Murdoch Feature Request: Allow Underscore Separated Numbers Jul 16 Ivan Krylov Feature Request: Allow Underscore Separated Numbers Jul 16