Hadley Wickham | An introduction to R7 | RStudio (2022)

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • The R7 package is a new OOP system designed to be a successor to S3 and S4. It has been designed and implemented collaboratively by the RConsortium Object- Oriented Programming Working Group, which includes representatives from R-Core, BioConductor, RStudio/tidyverse, and the wider R community.
    In this talk, I'll introduce R7 to the wider world. Attendees will learn why we created R7 and how they can use it to create new classes and packages. I hope to inspire folks to download, try it out, and give us the feedback we need to make it better.
    Session: Just typing R code: advanced R programming

Комментарии • 10

  • @Dreaming-11
    @Dreaming-11 Год назад +1

    Great addition to R system, congratulations for the effort

  • @AntoineFabri
    @AntoineFabri 7 месяцев назад +1

    str_reverse doesn't exist in stringr, but we have strings::stri_reverse, for those wondering :)

  • @CaryReams
    @CaryReams Год назад +1

    I smell a syntactic sugar pre-compiler brewing, ala typescript and babel. As its input, a classical OO class definition; as output, a package of new_generic(), method(), and new_class() statements.

  • @meryplays8952
    @meryplays8952 Год назад +7

    Now it is called S7.

    • @postylem
      @postylem 6 месяцев назад

      came here to say this.

    • @mubangansofu7469
      @mubangansofu7469 Месяц назад +2

      correct S3+S4 = S7 .... reminds me of my chemistry classes back in high school years ago! great addition to R

  • @meryplays8952
    @meryplays8952 Год назад +2

    When are we seeing it in base R? I think it is better than both S3 and S4.

  • @alexandrodisla6285
    @alexandrodisla6285 Год назад

    good

  • @DaarShnik
    @DaarShnik Год назад

    Couldn't a method check if thr generic is not available then create one... Rather then defining an empty line for generic which doesn't make much sense...❤

  • @user-os3uz4yn4j
    @user-os3uz4yn4j Год назад

    Could I use R7 for package development? tried ,failed;