Open t-wojciech opened 2 years ago
In Python (https://peps.python.org/pep-0515/) and Julia (https://docs.julialang.org/en/v1/manual/integers-and-floating-point-numbers/#Floating-Point-Numbers) it is possible to use an underscore _ as a digit separator in numbers.
_
> 100_000 100000
Do you think such a feature would be worth implementing and helpful in R? I am aware that I can use mathematical notation (1e5 in this example).
1e5
Here is a related discussion on R-devel: https://stat.ethz.ch/pipermail/r-devel/2022-July/081874.html
Here is patch proposition on R Bugzilla: https://bugs.r-project.org/show_bug.cgi?id=18407
In Python (https://peps.python.org/pep-0515/) and Julia (https://docs.julialang.org/en/v1/manual/integers-and-floating-point-numbers/#Floating-Point-Numbers) it is possible to use an underscore
_
as a digit separator in numbers.Do you think such a feature would be worth implementing and helpful in R? I am aware that I can use mathematical notation (
1e5
in this example).