• Valmond@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 months ago

        The (or ‘A’) new killer language, ir so I have heard.

        It neatly brings together a lot of optimisations (like template metaprogramming in C++ which brings optimisation and compiletime checks together, but is maniacly difficult to use In C++ IMO.) and seems easy to use after a quick check.

        We’ll see, primary logic usually doesn’t prevail in those matters.

        • Dave@lemmy.nz
          link
          fedilink
          English
          arrow-up
          6
          ·
          6 months ago

          It’s 30 years old so I’m not sure you could call it new 😆

            • Boo@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              1
              ·
              6 months ago

              Also, it’s the GNU version of the ‘S’ language (kind of like Octave vis-à-vis MATLAB). They only say they’re largely compatible, as they ofc don’t own S/MATLAB, but it’s pretty much the same AFAIK, only that R is now much more popular than S.

    • darthsid@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      6 months ago

      R is a complicated statistics programming language usually used by people in undergraduate and post graduate STEM degrees.

      • doctordevice@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        I barely even write base R anymore, I mostly use it for data wrangling these days so my code is almost entirely tidyverse. Every once in a while I get to bust out some statistics, but rarely.

        • blackbirdbiryani@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 months ago

          I’m a tidyverse zealot and I just cannot stand fixing people’s 300 line base R spaghetti that can easily be refactored into 10 lines of dplyr. Especially annoying when researchers can’t move away from doing everything in matrix format (when it’s unnecessary).

      • driving_crooner@lemmy.eco.br
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        I use python as my main programming language, I’m doing an MBA in actuarial sciences and all my professors use R, so all the classes and exercises are in R. They are kind enough to accept my exercises and exams in python, but I spent half my time translating R functions to python. This pass week I found the first function that doesn’t exists in python and had to learn how to run R code inside python. Just the cell of that function took 6hs processing, because of the back and forth between python to R to python again.

      • thisbenzingring@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        I have been IT support for medical researchers and that application is a BEAST. Installing and configuring it can be a nightmare. Especially when the researchers aren’t proficient in it already. Watching someone who is good at it is like watching the pinball wizard.

        • doctordevice@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 months ago

          What’s nightmarish about the installation? Is it because medical stuff is still on like Win XP?

          Installing on more modern Windows systems is pretty simple. Install the R distro from CRAN + almost certainly RStudio from Posit. Should be pretty plug-and-play. Not nearly as fiddly as LaTeX installs are.

        • bobburger@fedia.io
          link
          fedilink
          arrow-up
          1
          ·
          6 months ago

          I’ve almost entirely switched to using pak for managing my R packages. I’m not 100% sure what the magic is in pak, but it’s really made my life easier when installing packages.

      • sparkle@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        6 months ago

        … complicated? it’s a pretty easy language in comparison to others, it’s simple to use (although it can be quite terse)

        • driving_crooner@lemmy.eco.br
          link
          fedilink
          English
          arrow-up
          4
          ·
          6 months ago

          For the untrained eye can look complicated because it had a pretty unorthodox syntaxes, like <- to variable assign, c() to create a vector, df$column… and other little R specific things that are not common on other languages.

  • root_beer@midwest.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    6 months ago

    Give it a few years, they’ll be picking it up in middle school at least

    My daughter has been scoring very high in math this year in fifth grade so they wanted to give her more advanced stuff to do, like moving into basic statistics. She isn’t having any of it though, she hates math and gets terrible anxiety from it. She just wants to sculpt and make puppets instead. Can’t say I blame her, I was the same way.

    …yet I’d cherish a job where I’d just spend all day futzing around in R

    • rustydrd@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      R is great for visualizations and also has some neat tools for building websites, interactive figures/maps, web apps, and stuff like that. So a lot of sculpting potential in R, if she manages to get into it far enough.

    • driving_crooner@lemmy.eco.br
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      I always got straight A in maths in high school but never like it, when graduate went to film school and after a couple of years working on TV and films I got tired of the bad pay, the job insecurity and the constant need of networking to catch projects. So I decided to look inside into coming back to college not for something I liked but for something I’m good at, and got myself a degree in actuarial sciences. I miss being able to smoke weed while on the job, but the pay is way better, there’s always a job lined up if I get tired of my job and at the end, I learned to enjoy maths and to solve problems.

      Maybe if you show her all the beautiful mathematic graphics and functional 3d models, you can show her that she cN learn to love something that she’s naturally good at.