Re: Seeking Guidance on Advancing Functional Programming Skills in R

Martin Møller Skarbiniks Pedersen <[email protected]> Fri, 13 Feb 2026 12:51:49 +0100
Newsgroups gmane.comp.lang.r.general
Message-ID <CAGAA5bcf7EsggtHJYwFUs+TEanJjeH27_OOipKyHcU0SN_zxtg@mail.gmail.com>
On Thu, 12 Feb 2026 at 18:00, SAAD LAMJADLI <[email protected]> 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