People would typically choose based on CRAN TaskViews or follow conventional methodologies, but what I notice from this is that R is truly a language used only by those who use it. And the people who use it are usually master's students or professors; it's rarely used at the undergraduate level. So even those with that level of academic background and training must have had their own implementation roadblocks. Could…
There is some great stuff in R but from a software engineering level I'd much rather data scientists work in Python. At risk of sounding like ChatGPT, it's not an R thing, it's a general thing. Turn [showdead] on in your profile and see how Show HN is flooded with AI slop projects and we all know GitHub is drowning in it.
Too many R packages: CRAN is inundated with submissions
31–40 of 85 posts
Re: Too many R packages: CRAN is inundated with submissions
#32R slop. Oof. What an awful thing to imagine. It's already the programming language of choice for egregious abuses of good practice.
I do wonder if there isn't enough computer science / software engineering that is being taught as part of data science. People I've worked with that used R and manged data / did analysis didn't really seem too concerned with long term maintenance. Secondary observation, these same people were the first to preach for the AI coding gospel.
Re: Too many R packages: CRAN is inundated with submissions
#33Re: Too many R packages: CRAN is inundated with submissions
#34As a result of the above, it is full of packages that come with associated datasets right in the package itself. Packages with a tiny script and gigabytes of data. Or perhaps just the data without any actual code.
Very weird universe.
Re: Too many R packages: CRAN is inundated with submissions
#35CRAN is not a conventional package repo. Its audience is not really people who care about programming or software. It is a means to an end for them and slop is perfectly fine. The language itself is also very simple and has defaults that people don't even bother changing. For example the default output file name. It doesn't ask for an output file name when you save output. As a result of the above, it is full of pack…
Re: Too many R packages: CRAN is inundated with submissions
#36I feel like CRAN should be used for packages that are expressly made for others to use, and with effort put in to the documentation and vignettes. If you’re making a package for a small team or aren’t pushing it to a large audience then just keep it on a GitHub repository. It is almost as easy to install from GitHub with devtools as it is to install.packages().
Re: Too many R packages: CRAN is inundated with submissions
#37Earlier quoted context omitted.
I couldn’t disagree more. The base packages are a complete mess. If R was subset to only the tidyverse 5 years ago then it wouldn’t have lost so much ground to Python in nearly all fields. Posit is obviously the only organization with the pull to do that, and I feel like they got pulled in 10 directions during the move to AI and trying to also support Python. R Shiny is dead too which sucks because reflex.dev just co…
The proof is in the pudding. Every single grad student of mine that was brought up on the tidyverse produces gigantic R markdown files with 20 imports to accomplish something that would be shorter and much much easier to understand (and review!) with a base package or with one of a small number of packages (box, data.table) designed by people who understand programming. Not to mention the ridiculous styling/formattin…
The fact that young people are producing sub-optimal code (in terms of whatever optimization criteria you are choosing--here, it sounds like terseness) is not strong evidence that a particular software ecosystem (tidyverse) is flawed. Young people producing bad code is not surprising. They're your grad students, mentor them, and maybe they'll adapt to your ways of thinking. Or not.
> One of the reasons R has lost ground to other languages recently is that most R code these days is ugly
Citation needed, surely. The fact that this article is about an increase in the number of CRAN submissions and pseudo-quantitative indices like the TIOBE index show R's slice of the pie is growing provides evidence to the contrary.
Re: Too many R packages: CRAN is inundated with submissions
#38CRAN is not a conventional package repo. Its audience is not really people who care about programming or software. It is a means to an end for them and slop is perfectly fine. The language itself is also very simple and has defaults that people don't even bother changing. For example the default output file name. It doesn't ask for an output file name when you save output. As a result of the above, it is full of pack…
Re: Too many R packages: CRAN is inundated with submissions
#39Re: Too many R packages: CRAN is inundated with submissions
#40The surprising thing to me is that it's taken as long as it has for CRAN to have this problem. As others have said, this is happening everywhere.