Arun Kumar Saha
2026-Feb-14 19:40 UTC
[R] Seeking Guidance on Advancing Functional Programming Skills in R
In the era of tools like ChatGPT, is it still worthwhile to invest significant effort in writing R programs from scratch? On Sat, 14 Feb 2026 at 04:16, Ian Farm <ian.farm at maine.edu> wrote:> > Advanced R by Hadley Wickham has a helpful section on functional > programming in R: > > https://adv-r.hadley.nz/fp.html > > Best of luck, > Ian > ____ > Ian Farm > Laboratory Manager, University of Maine Agroecology Lab > > On Thu, Feb 12, 2026 at 12:00?PM SAAD LAMJADLI <s.lamjadli at uca.ac.ma> wrote: > > > Dear R Users, > > > > I am looking for a roadmap to learn advanced functional programming in R. > > > > I have already read *Functional Programming* by Thomas Mailund, and I have > > been studying base R functions to understand how they are written and to > > learn from their design. I have analyzed and rewritten dozens of base R > > functions, and this process has been very instructive. However, I still > > find it difficult to write more complex and robust functions on my own. > > > > I would be very grateful for any advice you might have ? whether in the > > form of recommended books, learning strategies, advanced resources, or > > suggestions for progressing toward more advanced functional programming > > skills in R. Additionally, I was wondering if there are any official > > workshops, teaching sessions, or training initiatives focused on advanced > > functional programming within the R ecosystem. > > > > Kind regards. > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > > https://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide https://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Jeff Newmiller
2026-Feb-14 20:22 UTC
[R] Seeking Guidance on Advancing Functional Programming Skills in R
Yes, you need to study. AI is good at doing things repetitively, but it misses obvious vectorizations and duplicates analyses at the drop of a hat rather than factoring code into functions if you don't guide it. I know, I know, "it is improving fast"... but you need to understand good architecture to avoid letting "almost identical" analyses slip through and having missed requirements. The better you know how to explain what you want, the better the results will be... and you cannot do that if you don't already have a vision for how it will accomplish your task. The better AI gets at being creative, the more trouble it has meeting requirements... the "temperature" it is setup with has to be high enough for it to refine from its initial bad attempts toward a goal, but not so high that it hallucinates, and this is no easier to get right with AI than it is with junior programmers. Study hard... the productivity floor is rising. On February 14, 2026 11:40:58 AM PST, Arun Kumar Saha <arun.kumar.saha at gmail.com> wrote:>In the era of tools like ChatGPT, is it still worthwhile to invest >significant effort in writing R programs from scratch? > > > >On Sat, 14 Feb 2026 at 04:16, Ian Farm <ian.farm at maine.edu> wrote: >> >> Advanced R by Hadley Wickham has a helpful section on functional >> programming in R: >> >> https://adv-r.hadley.nz/fp.html >> >> Best of luck, >> Ian >> ____ >> Ian Farm >> Laboratory Manager, University of Maine Agroecology Lab >> >> On Thu, Feb 12, 2026 at 12:00?PM SAAD LAMJADLI <s.lamjadli at uca.ac.ma> wrote: >> >> > Dear R Users, >> > >> > I am looking for a roadmap to learn advanced functional programming in R. >> > >> > I have already read *Functional Programming* by Thomas Mailund, and I have >> > been studying base R functions to understand how they are written and to >> > learn from their design. I have analyzed and rewritten dozens of base R >> > functions, and this process has been very instructive. However, I still >> > find it difficult to write more complex and robust functions on my own. >> > >> > I would be very grateful for any advice you might have ? whether in the >> > form of recommended books, learning strategies, advanced resources, or >> > suggestions for progressing toward more advanced functional programming >> > skills in R. Additionally, I was wondering if there are any official >> > workshops, teaching sessions, or training initiatives focused on advanced >> > functional programming within the R ecosystem. >> > >> > Kind regards. >> > >> > [[alternative HTML version deleted]] >> > >> > ______________________________________________ >> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> > https://stat.ethz.ch/mailman/listinfo/r-help >> > PLEASE do read the posting guide >> > https://www.R-project.org/posting-guide.html >> > and provide commented, minimal, self-contained, reproducible code. >> > >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide https://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > >______________________________________________ >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide https://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code.-- Sent from my phone. Please excuse my brevity. [[alternative HTML version deleted]]
SAAD LAMJADLI
2026-Feb-14 20:30 UTC
[R] Seeking Guidance on Advancing Functional Programming Skills in R
R helped me with more than just data analysis in my line of work, which deals with healthcare data. It influenced my perspective. Healthcare data frequently felt like noise, too many variables, and too much uncertainty prior to R. But after I began working with data in R, something suddenly made sense to me. It seems like something I can do myself, or at least that's the intention. There is still a long way to go. Data becomes a puzzle instead of a chaotic mess. That mindset?perceiving everything as a manipulable puzzle. AI is unable to do so since it does not have the same worldview as humans. Beyond the information it observes, it lacks intuition, lived experience, and context. AI is fascinating too. It can help debug. It can make tedious tasks easier. It can suggest ideas. It can accelerate certain workflows. AI can assist. But writing code builds you, that internal clarity is priceless. Le sam. 14 f?vr. 2026 ? 20:41, Arun Kumar Saha <arun.kumar.saha at gmail.com> a ?crit :> In the era of tools like ChatGPT, is it still worthwhile to invest > significant effort in writing R programs from scratch? > > > > On Sat, 14 Feb 2026 at 04:16, Ian Farm <ian.farm at maine.edu> wrote: > > > > Advanced R by Hadley Wickham has a helpful section on functional > > programming in R: > > > > https://adv-r.hadley.nz/fp.html > > > > Best of luck, > > Ian > > ____ > > Ian Farm > > Laboratory Manager, University of Maine Agroecology Lab > > > > On Thu, Feb 12, 2026 at 12:00?PM SAAD LAMJADLI <s.lamjadli at uca.ac.ma> > wrote: > > > > > Dear R Users, > > > > > > I am looking for a roadmap to learn advanced functional programming in > R. > > > > > > I have already read *Functional Programming* by Thomas Mailund, and I > have > > > been studying base R functions to understand how they are written and > to > > > learn from their design. I have analyzed and rewritten dozens of base R > > > functions, and this process has been very instructive. However, I still > > > find it difficult to write more complex and robust functions on my own. > > > > > > I would be very grateful for any advice you might have ? whether in the > > > form of recommended books, learning strategies, advanced resources, or > > > suggestions for progressing toward more advanced functional programming > > > skills in R. Additionally, I was wondering if there are any official > > > workshops, teaching sessions, or training initiatives focused on > advanced > > > functional programming within the R ecosystem. > > > > > > Kind regards. > > > > > > [[alternative HTML version deleted]] > > > > > > ______________________________________________ > > > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > > > https://stat.ethz.ch/mailman/listinfo/r-help > > > PLEASE do read the posting guide > > > https://www.R-project.org/posting-guide.html > > > and provide commented, minimal, self-contained, reproducible code. > > > > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > https://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]