S7 | dtplyr | |
---|---|---|
6 | 24 | |
436 | 670 | |
1.8% | -0.1% | |
9.3 | 6.6 | |
4 months ago | about 2 months ago | |
R | R | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
S7
- Will they get it right this time?
-
Tidyverse 2.0.0
https://adv-r.hadley.nz/oo.html
"There are multiple OOP systems to choose from. In this book, I’ll focus on the three that I believe are most important: S3, R6, and S4. S3 and S4 are provided by base R. R6 is provided by the R6 package, and is similar to the Reference Classes, or RC for short, from base R.
"There is disagreement about the relative importance of the OOP systems. I think S3 is most important, followed by R6, then S4. Others believe that S4 is most important, followed by RC, and that S3 should be avoided. This means that different R communities use different systems."
https://rconsortium.github.io/OOP-WG/
"The S7 package is a new OOP system designed to be a successor to S3 and S4."
-
Is python necessary to learn machine learning?
Even if RStudio & the Tidyverse have mostly been promoting a functional programming style in R, it has full support for OOP (see R6 or R7 for more modern implementations of it). Let's not even mention the excellent Stan ecosystem for Probabilistic programming / Bayesian modeling, or Bioconductor, the biggest repository of bioinformatics packages & tools of any language.
-
Why is OOP in R so messy?
Not sure if you or others have missed it, as the link from the readme is dead, but the proposal section of that repo is informative of the current state of things: https://github.com/RConsortium/OOP-WG/blob/master/proposal/proposal.org
dtplyr
-
Tidyverse 2.0.0
Can’t say I’ve used it, but isn’t that what dtplyr is supposed to provide?
https://dtplyr.tidyverse.org/
-
Error when trying to use dtplyr::lazy_dt, "invalid argument to unary operator"
# I am trying to follow the example at https://dtplyr.tidyverse.org/
-
Millions of rows
FYI the developer of tidytable has been developing dtplyr for the Tidyverse. You might like that too!
-
fuzzyjoin - "Error in which(m) : argument to 'which' is not logical"
If you need speed, you should consider using dtplyr (or tidytable), or even dbplyr with duckdb.
-
Best alternative to Pandas 2023?
https://dtplyr.tidyverse.org/ ?
-
R Dialects Broke Me
If you want data.table speed, but using dplyr/tidy then dtplyr is a good package to have handy. Personally I love R, and choose R + NodeJS as my gotos for everything I do, and use Python only when I have to.
-
Merging csv from environment.
Also, that dataset is quite big, and the "base" Tidyverse will be excessively slow. You should supplement the "base" Tidyverse packages (i.e. dplyr and tidyr) with either dtplyr or dbplyr (+ duckDB). I'd suggest starting with dtplyr, which should handle 10M+ rows fine.
-
mutate ( ) function is only working in code chunk I run it in. It does not change the column in my data frame other than in that one code chunk.
If you want, there's a "substitute" for dplyr called dtplyr (also part of the Tidyverse), which "translates" your dplyr/tidyr code into data.table behind the scenes, and allows you to make your modifications apply directly to the original dataset by default:
-
R process taking over 2 hours to run suddenly
Install the dtplyr package and change your code to:
-
DS student here: why use R over Python?
Get the best of both worlds (tidyverse + data.tables) with dtplyr, a data.table backend for dplyr.
What are some alternatives?
py-shiny - Shiny for Python
tidytable - Tidy interface to 'data.table'
AlgebraOfGraphics.jl - An algebraic spin on grammar-of-graphics data visualization in Julia. Powered by the Makie.jl plotting ecosystem.
vaex - Out-of-Core hybrid Apache Arrow/NumPy DataFrame for Python, ML, visualization and exploration of big tabular data at a billion rows per second 🚀
stan - Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
tidypolars - Tidy interface to polars