[R] Seeking Guidance on Advancing Functional Programming Skills in R

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Fri Feb 13 17:16:53 CET 2026


Saad,

To add a bit to the previous excellent advice,...

I think your query may be too vague to elicit helpful responses. A better
strategy might be to give a few **simple** examples of the sorts of
problems that demonstrate your concerns and your code for how you
approached them and reasons why you think these approaches need
improvement. To maximize your chance of useful responses, keep your code
snippets **short** (less than a dozen lines, say). For must of us, our eyes
glaze over when confronted with pages of code that we are supposed to
analyze and diagnose.

Cheers,
Bert


On Fri, Feb 13, 2026 at 3:57 AM Martin Møller Skarbiniks Pedersen <
traxplayer using gmail.com> wrote:

> On Thu, 12 Feb 2026 at 18:00, SAAD LAMJADLI <s.lamjadli using uca.ac.ma> wrote:
> >
> > Dear R Users,
> >
> > I am looking for a roadmap to learn advanced functional programming in R.
>
> Which part of functional programming in R do you find hard to understand?
> Thomas Mailund's book has a lot of focus on R4 but functional
> programming is so much more.
>
> Have you looked at the purrr-packages and the family of apply-functions ?
> If you want to make your own packages I suggest you read about vctrs:
> https://vctrs.r-lib.org/
>
> But it sounds like you already have read a lot of materiale including
> source code so maybe you should not focus on reading.
> I suggest that you instead just start writing a lot of code yourself.
>
> And once every month look at your old code and improve it.
>
> Maybe solve some of the many fun problems at https://adventofcode.com/
>
> You can also learn a lot by trying to solve issues with existing
> packages. Just find the source on github and
> look at the issues eg. https://github.com/tidyverse/ggplot2/issues
>
> Regards
> Martin
>
> ______________________________________________
> R-help using 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]]



More information about the R-help mailing list