6 comments

  • parsimo20102 hours ago
    I 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.<p>Imho, transitioning from tidy to base R makes your code less readable than just using base R throughout.<p>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.
    • greazy57 minutes ago
      Absolutely not.<p>Theres more to the R ecosystem than tidyverse packages. There&#x27;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.<p>Some of the tidyverse packages are over kill and contain lots of foot guns.<p>I&#x27;ve seen code that was clean get butchered because someone had no idea how to do something basic in base R.<p>There&#x27;s also another separate ecosystem for doing stats with their own flavors.
    • MostlyStable19 minutes ago
      As a daily R user, hard disagree. With the exception of ggplot (and this is directly related to why I don&#x27;t use ggplot and instead use base plotting), most of tidyverse is pretty similar to and consistent with most base R functions.<p>Tidyverse standalone would be borderline useless, as most of what it&#x27;s best at is manipulating, transorming, and re-arranging your data in various ways. You still need to _do_ something with your data at the end, at which point, the entire rest of the R ecosystem comes into play.<p>Tidyverse is valuable specifically because it&#x27;s the best at doing what it does, and what it does makes everything else easier, more legible, and faster.<p>Forking it would simultaneously make both R and tidyverse worse off.
    • newyankee16 minutes ago
      I worked in a job a decade back where I was the only tech guy and had a special 128 GB RAM machine. All the &#x27;Big data&#x27; for the team was done by me using R tidyverse, data.table and few libraries and they thought of it as magic as there were few tech people there.<p>Still feel a lot of enterprises and industries looked over its capabilities then.<p>With LLMs the challenge of R syntax is a little easier for data analysts to climb, especially the new ones.
    • t_mann50 minutes ago
      There&#x27;s a school of thought of using mostly base R, for all its flaws it already had before Hadley, and selectively using some tidyverse packages. Base R has been the de-facto coding standard for academic statisticians for decades, with all the wealth of open source packages that that entails, and some of the tidyverse packages are just a godsend. ggplot2 is probably the most powerful plotting library I&#x27;ve seen, while being fairly accessible. You don&#x27;t have to subscribe to an entire philosophy for data wrangling or plotting (and may even frown at the syntax overloading) to get a huge amount of utility out of it.
    • jghn1 hour ago
      &gt; I almost wish Hadley had forked R to make the tidyverse<p>I am pretty sure there are R-core members who also wish this is what happened.
      • bachmeier1 hour ago
        As someone that&#x27;s been using R for 20 years, I don&#x27;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&#x27;t realize that it&#x27;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.
    • Fomite2 hours ago
      This. They&#x27;re basically two languages sitting on top of each other. It&#x27;s fascinating seeing students who have been taught using the tidyverse try to switch gears.
  • mushufasa3 hours ago
    To pre-empt critics of R, remember: R is a lisp!
    • UniverseHacker2 hours ago
      But with a much more human legible syntax that doesn’t require huge numbers of nested parentheses.
      • tetris112 hours ago
        <p><pre><code> `+`(1,2) </code></pre> is a valid R call for anyone wondering
        • vharuck2 hours ago
          So is this:<p><pre><code> `(`(1) </code></pre> Bonus points: Find a use for having the parenthesis be a function.
          • mc_maurer1 hour ago
            Sneaking some very devious stuff into a friend&#x27;s .Rprofile when they&#x27;re not looking
  • techsystems3 hours ago
    Use tidytable Much faster, exact same syntax, much smaller member usage
  • tanvach1 hour ago
    A plug for tidyverse adjacent data.table - really should be combined someday :)
    • kgwgk1 hour ago
      “Adjacent” as in “also available in R”?
  • realitychk929 minutes ago
    is R still a thing? thought the debate was settled in 2010
  • svoit3 hours ago
    The Tidyverse is solid. I sometimes wish I used R more in industry because of how good it is.<p>IMO, R is kind of a syntactic Frankenstein otherwise.<p>Tidymodels also exists: <a href="https:&#x2F;&#x2F;www.tidymodels.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.tidymodels.org&#x2F;</a>
    • mscbuck1 hour ago
      From what I saw in the latest &quot;language&quot; 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&#x27;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.