Re: [R] Extracting specific arguments from "..."

2025-01-07 Thread avi.e.gross
Like many things in R, the original way things were done may have ossified in place and even if largely unknown packages came along, may not be known by many. The topic John is talking about is NOT in my mind about systems programming at all. It is about writing any function where you want control

Re: [R] Extracting specific arguments from "..."

2025-01-07 Thread Sorkin, John
Ben, As always, thank you. You are correct, it is something like what I want, but not exactly. Perhaps someday someone will write a more complete guide. Thank you, John John David Sorkin M.D., Ph.D. Professor of Medicine, University of Maryland School of Medicine; Associate Director for Biostati

Re: [R] Extracting specific arguments from "..."

2025-01-07 Thread Ben Bolker
There's an ancient (2003) document on the CRAN "developers' page" https://developer.r-project.org/model-fitting-functions.html that is sort of (but not exactly) what you're looking for ... On 2025-01-07 5:03 p.m., Sorkin, John wrote: Colleagues, My interest is not in writing ad hoc func

Re: [R] Extracting specific arguments from "..."

2025-01-07 Thread Sorkin, John
Colleagues, My interest is not in writing ad hoc functions (which I might use once to analyze my data), but rather what I will call a system function that might be part of a package. The lm function is a paradigm of what I call a system function. The lm function begins by processing the argum

Re: [R] Extracting specific arguments from "..."

2025-01-07 Thread Jorgen Harmse via R-help
Interesting discussion. A few things occurred to me. Apologies to Iris Simmons: I mixed up his answer with Bert's question. Bert raises questions about promises, and I think they are related to John Sorkin's question. A big difference between R and most other languages is that function argument