renv
plotnine
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.
renv
-
Every modeler is supposed to be a great Python programmer
As I alluded to, renv exists, but it requires a lot of development work before it is a comparably robust option for the ecosystem. Basic things like a command-line interface [0], working with non-CRAN repos [1], using an existing DESCRIPTION file [2], etc. There are many use cases where renv does not work in a corporate environment (ie not open-source all public code scenarios). Some of those issues have been open for years.
I do not believe the situation is unsolvable, but there is significant work to be done. Renv provides value today, and I will encourage everyone to use it. However, it has significant blind spots which continue to make R deployments challenging.
[0] https://github.com/rstudio/renv/issues/1055
-
What is your favorite R package and why?
renv for managing packages in projects.
-
New package ‘box’: Write reusable, composable and modular R code
Oh wow! That is crazy!
-
Groundhog: Addressing the Threat That R Poses to Reproducible Research
I’ve yet to use it personally, but renv [1] seems to try to solve the reproducible builds problem in a way more similar to other modern package managers (e.g. by generating a lockfile).
This approach enables stricter validations against tampering with the package repositories as a hash of the package can be stored in the lockfile, however it is obviously a bit more complex to use than the groundhog approach.
[1]: https://github.com/rstudio/renv
plotnine
- FLaNK AI Weekly 18 March 2024
-
A look at the Mojo language for bioinformatics
To your last point, have you tried plotnine? It's meant to be ggplot2 for python.
https://github.com/has2k1/plotnine
-
Mastering Matplotlib: A Step-by-Step Tutorial for Beginners
plotnine - A grammar of graphics for Python based on ggplot2.
-
Top 10 growing data visualization libraries in Python in 2023
Github: https://github.com/has2k1/plotnine
-
Lets-Plot: An open-source plotting library by JetBrains
This seems quite similar to plotnine [0], which also provides a grammar of graphics interface for Python. That said, I love ggplot and I can't wait to use this in my research! I hope we can port/re-implement ggthemes, scientificplots [1], and other ggplot libraries for lets-plot.
0: https://plotnine.readthedocs.io/en/stable/
1: https://github.com/garrettj403/SciencePlots
- When would you use R instead of Python?
-
[P] Easily make complex plots using ChatGPT [open source]
There is [plotnine](https://plotnine.readthedocs.io/en/stable/) which tries to implement ggplot in Python.
-
Is R or Python an EASIER option for non-CS/SE grads?
You could use plotnine if you like the grammar of graphics concept: https://plotnine.readthedocs.io/en/stable/
-
Every modeler is supposed to be a great Python programmer
> Python doesn’t yet have anything remotely close to ggplot for rapidly making exploratory graphics, for example.
Plug for plotnine (https://plotnine.readthedocs.io/en/stable/). I don't know R but use ggplot indirectly through this library for exploratory data analysis, and comparing the experience to any other python plotting library, I understand why R folks are usually so sad to be using Python.
-
Why has nobody ported ggplot to Python?
They have, https://plotnine.readthedocs.io/en/stable/