home.social

#rdatatable — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #rdatatable, aggregated by home.social.

  1. Exploring a parallel syntax with #RDataTable

    ```
    data |>
    _[, .(x = async(long(x))), by = .(group1, group2)] |>
    collect_async()
    ```

    Is syntax sugar for

    ```
    data |>
    _[, .(x = list(future::future(long(x)))), by = .(group1, group2)] |>
    _[, x := future::value(x[[1]]), by = .(group1, group2)] |>
    _[]
    ```

    #RStats

  2. data challenge: rolling median

    library(data.table)
    set.seed(108)
    x = rnorm(1e8)
    n = 1000
    frollmedian(x, n) |> system.time()
    # user system elapsed
    # 8.439 0.727 3.212

  3. CW: unpopular opinion about Tidyverse

    @kernpanik Usually, I also try to stick to base or lightweight packages (, , , ...). Methinks, since most tutorial promote the tidyverse, some do not know base equivalent. However, base data frame operations may require more careful handling of row order, factor levels, and preserving the data frame structure. dplyr maintains a consistent behavior across grouped operations.

  4. CW: unpopular opinion about Tidyverse

    @kernpanik Usually, I also try to stick to base #rstats or lightweight packages (#tinyplot, #tinytable, #rdatatable, ...). Methinks, since most tutorial promote the tidyverse, some do not know base equivalent. However, base data frame operations may require more careful handling of row order, factor levels, and preserving the data frame structure. dplyr maintains a consistent behavior across grouped operations.

  5. CW: unpopular opinion about Tidyverse

    @kernpanik Usually, I also try to stick to base #rstats or lightweight packages (#tinyplot, #tinytable, #rdatatable, ...). Methinks, since most tutorial promote the tidyverse, some do not know base equivalent. However, base data frame operations may require more careful handling of row order, factor levels, and preserving the data frame structure. dplyr maintains a consistent behavior across grouped operations.

  6. CW: unpopular opinion about Tidyverse

    @kernpanik Usually, I also try to stick to base #rstats or lightweight packages (#tinyplot, #tinytable, #rdatatable, ...). Methinks, since most tutorial promote the tidyverse, some do not know base equivalent. However, base data frame operations may require more careful handling of row order, factor levels, and preserving the data frame structure. dplyr maintains a consistent behavior across grouped operations.

  7. CW: unpopular opinion about Tidyverse

    @kernpanik Usually, I also try to stick to base #rstats or lightweight packages (#tinyplot, #tinytable, #rdatatable, ...). Methinks, since most tutorial promote the tidyverse, some do not know base equivalent. However, base data frame operations may require more careful handling of row order, factor levels, and preserving the data frame structure. dplyr maintains a consistent behavior across grouped operations.

  8. @pglpm The only reason I don't use {collapse} is because usually what I want is already covered by #RDataTable

  9. data.table giving bizarre results on my system when compiled with the intel compiler. This is just a simple mean by time. The the GForce version goes all wacky. Using base::mean() returns to sanity.

    #RDataTable #RStats

  10. @flaviaerius

    I see the hardware is of course an important aspect.

    You could also try fread from and see if this works better for you.

    Since I have quite powerful laptop, I rarely come to the limits. But this was different in the past. I did my doctoral thesis (R package development included) in part on an . That was fun.

  11. Gráficos feitos com #RStats, usando #RDataTable para ler e tabular os dados, e #TinyPlot (@gmcd) para plotar

  12. @Lluis_Revilla

    is a pleasure to work with. Sometimes mind bending (why does it not work? 🤔 … ahh, lists 🤦‍♂️)
    but most of the time great.

    I use it in combination with . I had situations where my code got faster and shorter by doing this.

    Enjoy

  13. Friends near Madrid, check out this upcoming event!

    A Zoom option is also available, if you want to join from afar.

    meetup.com/grupo-de-usuarios-d

    (Presentation will be in English.)

  14. @johnmackintosh

    would be sufficient for most of my demands I guess.

    Therefore, I can unfortunately not offer a better comment.

  15. Pela primeira vez, fiz revisão de "pull request" no GitHub. A mudança sendo revista era uma atualização da tradução do #RDataTable por @rafaelff

  16. #rstats what wouldn't I give for a package that would bring #rdatatable syntax to #polars

  17. @johnmackintosh My 1/2 a cent as heavy user of #rdatatable for the package name: short is not so important (you only write it once). I would have gone with data.table.utils or data.table.extras to make it absolutely obvious. There is probably some room for a left_join, inner_join, full_join, asof_join wrapper as well (should you look for features)

  18. Someone said she felt undatable and I had to read twice, thrice because I thought it was un-data.table! 😅 #RDataTable

  19. Today @rafaelff, a colleague and I make our first contribution to an R package: we translated {data.table} to Brazilian Portuguese!

    github.com/Rdatatable/data.tab

    Our work was greatly encouraged by an NSF grant for the development of the community around the package, which included translation:

    rdatatable-community.github.io

    1/

    #RStats #RDataTable @r_data_table

  20. Starting with is a great way to introduce students to the world of . It's not just about teaching programming skills, but also about explaining other technologies like , , , & ! 💻 And I'm convinced that we should focus on building a small solid foundation ( 🙂 ). Think of base R (aggregate, subset, …), and graphics () instead of diving straight into popular packages like . Let's keep it simple! Who's with me?

  21. Starting with #RMarkdown is a great way to introduce students to the world of #rstats. It's not just about teaching programming skills, but also about explaining other technologies like #LaTeX, #YAML, #Rnw, #markdown & #Rscript! 💻 And I'm convinced that we should focus on building a small solid foundation (#smallR 🙂 ). Think of base R (aggregate, subset, …), #rdatatable and graphics (#tinyplot) instead of diving straight into popular packages like #tidyverse. Let's keep it simple! Who's with me?

  22. Starting with #RMarkdown is a great way to introduce students to the world of #rstats. It's not just about teaching programming skills, but also about explaining other technologies like #LaTeX, #YAML, #Rnw, #markdown & #Rscript! 💻 And I'm convinced that we should focus on building a small solid foundation (#smallR 🙂 ). Think of base R (aggregate, subset, …), #rdatatable and graphics (#tinyplot) instead of diving straight into popular packages like #tidyverse. Let's keep it simple! Who's with me?

  23. Starting with #RMarkdown is a great way to introduce students to the world of #rstats. It's not just about teaching programming skills, but also about explaining other technologies like #LaTeX, #YAML, #Rnw, #markdown & #Rscript! 💻 And I'm convinced that we should focus on building a small solid foundation (#smallR 🙂 ). Think of base R (aggregate, subset, …), #rdatatable and graphics (#tinyplot) instead of diving straight into popular packages like #tidyverse. Let's keep it simple! Who's with me?

  24. Starting with #RMarkdown is a great way to introduce students to the world of #rstats. It's not just about teaching programming skills, but also about explaining other technologies like #LaTeX, #YAML, #Rnw, #markdown & #Rscript! 💻 And I'm convinced that we should focus on building a small solid foundation (#smallR 🙂 ). Think of base R (aggregate, subset, …), #rdatatable and graphics (#tinyplot) instead of diving straight into popular packages like #tidyverse. Let's keep it simple! Who's with me?

  25. 📢 News! A new version update of is now available 🎉

    🔍 biopixR - Package for analysis of bioimage image data: Make your bioimaging workflow easier and more efficient with this tool.

    🌐 Just a few days ago, biopixR made its first public appearance on CRAN! Check it out here: <cran.r-project.org/package=bio>

    🤝 We've already received valuable feedback from the community with a pull request. Thanks! 🙏

    Let's keep this project growing and evolving together! 🚀

  26. 📢 News! A new version update of #biopixR is now available 🎉

    🔍 biopixR - Package for analysis of bioimage image data: Make your bioimaging workflow easier and more efficient with this tool.

    🌐 Just a few days ago, biopixR made its first public appearance on CRAN! Check it out here: <cran.r-project.org/package=bio>

    🤝 We've already received valuable feedback from the #rdatatable community with a pull request. Thanks! 🙏

    Let's keep this project growing and evolving together! 🚀 #BioImaging #rstats

  27. 📢 News! A new version update of #biopixR is now available 🎉

    🔍 biopixR - Package for analysis of bioimage image data: Make your bioimaging workflow easier and more efficient with this tool.

    🌐 Just a few days ago, biopixR made its first public appearance on CRAN! Check it out here: <cran.r-project.org/package=bio>

    🤝 We've already received valuable feedback from the #rdatatable community with a pull request. Thanks! 🙏

    Let's keep this project growing and evolving together! 🚀 #BioImaging #rstats

  28. 📢 News! A new version update of #biopixR is now available 🎉

    🔍 biopixR - Package for analysis of bioimage image data: Make your bioimaging workflow easier and more efficient with this tool.

    🌐 Just a few days ago, biopixR made its first public appearance on CRAN! Check it out here: <cran.r-project.org/package=bio>

    🤝 We've already received valuable feedback from the #rdatatable community with a pull request. Thanks! 🙏

    Let's keep this project growing and evolving together! 🚀 #BioImaging #rstats

  29. 📢 News! A new version update of #biopixR is now available 🎉

    🔍 biopixR - Package for analysis of bioimage image data: Make your bioimaging workflow easier and more efficient with this tool.

    🌐 Just a few days ago, biopixR made its first public appearance on CRAN! Check it out here: <cran.r-project.org/package=bio>

    🤝 We've already received valuable feedback from the #rdatatable community with a pull request. Thanks! 🙏

    Let's keep this project growing and evolving together! 🚀 #BioImaging #rstats