• darthsid@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

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

      • driving_crooner@lemmy.eco.br
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 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.

      • doctordevice@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 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
          1
          ·
          2 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).

      • thisbenzingring@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 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.

        • bobburger@fedia.io
          link
          fedilink
          arrow-up
          1
          ·
          2 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
        2 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
          0
          ·
          2 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.