I think the hard part for me is shifting from using functional programming
tools to actually thinking functionally.  I’ll try in future posts to share
small, concrete examples of where I get stuck. Thanks.

Le ven. 13 févr. 2026 à 17:17, Bert Gunter <[email protected]> a
écrit :

> 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 <
> [email protected]> wrote:
>
>> 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
>>
>> ______________________________________________
>> [email protected] 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]]

______________________________________________
[email protected] 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.

Reply via email to