Re: [Rd] Feature Request: Allow Underscore Separated Numbers

2022-07-15 Thread avi.e.gross
Yes, Ivan, obviously someone can try out a change and check if it causes problems. And although I would think the majority of delayed execution eventually either is never invoked or is done as you describe using internal functions in trees, I suspect there exist some that do not. For example, I c

Re: [Rd] confusing all.equal output

2023-03-02 Thread avi.e.gross
I think if you step back, you can ask what the purpose of an error message is and who designs it. Is the message for the developer or others on their team or something an end-user knowing nothing about R will see. This reminds me a bit of legal mumbo jumbo that turns many reading it off as it kee

Re: [Rd] transform.data.frame() ignores unnamed arguments when no named argument is provided

2023-03-03 Thread avi.e.gross
I am probably mistaken but it looks to me like the design of much of the data.frame infrastructure not only does not insist you give columns names, but even has all kinds of options such as check.names and fix.empty.names https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/data.fr

Re: [Rd] Multiple Assignment built into the R Interpreter?

2023-03-11 Thread avi.e.gross
I am not personally for or against changes to the R main language but do find that too many people keep wanting to change R so it should be like some other language. Many features would be nice, especially if they do not break existing code, but the time and effort and other overheads need to be

Re: [Rd] capture "->"

2024-03-01 Thread avi.e.gross
I am wondering what the specific need for this is or is it just an exercise? Where does it matter if a chunk of code assigns using "<-" beforehand or "->" after hand, or for that matter assigns indirectly without a symbol? And whatever you come up with, will it also support the global assignment

Re: [Rd] capture "->"

2024-03-01 Thread avi.e.gross
Adrian, That is indeed a specialized need albeit not necessarily one that cannot be done by requiring an alternate way of typing a formula that avoids being something the parser sees as needed to do at that level. In this case, my other questions become moot as I assume the global assignment

Re: [Rd] capture "->"

2024-03-02 Thread avi.e.gross
Duncan, Adrian and all, I decided to look a bit at how various operators are seen by typeof() in light of this discussion and it seems there are quite a few categories as shown below and I suspect more exist. R, like many languages was not initially designed to have some object-oriented aspects

Re: [Rd] \>

2024-06-29 Thread avi.e.gross
I suggest there is actually quite a lot to know about piping, albeit you can use it fine while knowing little. For those who can happily write complex lines of code containing nested function calls and never have to explain it to anyone, feel free. I can do that and sometimes months later I onl

Re: [Rd] Large vector support in data.frames

2024-07-04 Thread avi.e.gross
Unfortunately, as has been noted, some changes require many parties to change at once and can cause huge problems when an unchanged part is reached. If integers are a fixed size, an implementation can be straightforward and you can patch in libraries and parts already used and tested and in lang

Re: [Rd] Inconsistency between row and nrow

2024-09-08 Thread avi.e.gross
Why would a design made by perhaps different people at different times have to be consistent? Why complicate a simple design meant to be used in 2-D objects to also handle other things? It is a bit like asking why for a vector you cannot use the same verb to measure length as in one sense a

Re: [Rd] Inconsistency between row and nrow

2024-09-08 Thread avi.e.gross
It can be informative to look at what the actual functions being discussed do. Dim is an internal, meaning written in some variant of C, perhaps: > dim function (x) .Primitive("dim") The function nrow, in my distribution, actually just calls dim() and throws away one dimension: > nrow functio

Re: [Rd] Problems with ::

2025-03-19 Thread avi.e.gross
Terry, If I understand you, this is a problem anytime you include more than one function with the same name and the latest masks all others. It is not only a problem with the tidyverse, albeit that is an example of bringing in quite a few functions from many packages at once. I wonder if the foll