4 ms·
R packages for data science
- svoit 10mo agoThe Tidyverse is solid. I sometimes wish I used R more in industry because of how good it is. IMO, R is kind of a syntactic Frankenstein otherwise. Tidymodels also exists: https://www.tidymodels.org/ https://www.tidymodels.org/
- mscbuck 10mo agoFrom what I saw in the latest "language" surveys or whatever, R does seemingly seem to be making a slight comeback. I was actually surprised at its place above Ruby, iirc. Again, not that these surveys are the end-all-be-all, but I've also started to see a lot more data science postings that have R or Python be a requirement, where I feel like for a few years it was ALL Python.
- techsystems 10mo agoUse tidytable Much faster, exact same syntax, much smaller member usage
- mushufasa 10mo agoTo pre-empt critics of R, remember: R is a lisp!
- _yb2s 10mo agoBut with a much more human legible syntax that doesn’t require huge numbers of nested parentheses.
- parsimo2010 10mo agoI almost wish Hadley had forked R to make the tidyverse. What I usually see are people that start using tidy functions and coding style, but at some point they realize they don’t know how to do something the tidy way or something hasn’t been implemented in a tidy package yet, so they fall back to base R. Imho, transitioning from tidy to base R makes your code less readable than just using base R throughout. If the tidyverse were forked and base R functions weren’t available then people would be forced to come up with a different solution and maybe they would stay committed to being tidy. I realize that probably won’t ever happen, there is too much work to reimplement all the missing base R functions.
- Fomite 10mo agoThis. They're basically two languages sitting on top of each other. It's fascinating seeing students who have been taught using the tidyverse try to switch gears.
- jghn 10mo ago> I almost wish Hadley had forked R to make the tidyverse I am pretty sure there are R-core members who also wish this is what happened.
- bachmeier 10mo agoAs someone that's been using R for 20 years, I don't necessarily wish that had happened, but I think the trend to teach intro R using the tidyverse is a bad development. People that use the tidyverse don't realize that it's complex. There are no doubt complex and frustrating parts of base R. For the most basic things, base R is natural. The tidyverse has you piping and using advanced concepts from the start.
- greazy 10mo agoAbsolutely not. Theres more to the R ecosystem than tidyverse packages. There's a whole suite of absolutely amazing R packages in the bioconductor ecosystem that rival tidyverse in speed and ease of use but targeting other data structures. Some of the tidyverse packages are over kill and contain lots of foot guns. I've seen code that was clean get butchered because someone had no idea how to do something basic in base R. There's also another separate ecosystem for doing stats with their own flavors.
- tanvach 10mo agoA plug for tidyverse adjacent data.table - really should be combined someday :)
- kgwgk 10mo ago“Adjacent” as in “also available in R”?
- erikgahner 10mo agoThey are already combined in dtplyr[1]. [1] https://dtplyr.tidyverse.org/ https://dtplyr.tidyverse.org/
- realitychk9 10mo agois R still a thing? thought the debate was settled in 2010