Last week he learnt C
What exactly does R mean outside kindergarten?
It’s a programming language used primarily in data analysis: https://en.wikipedia.org/wiki/R_(programming_language)
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.
It’s 30 years old so I’m not sure you could call it new 😆
Ouch 🤕😁
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.
OIC ok
Eli5?
R is a complicated statistics programming language usually used by people in undergraduate and post graduate STEM degrees.
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.
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).
ELI4?
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.
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.
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.
How is Pak better than pacman, which is my preferred package management solution for R.
Idk, that was someone else’s comment. I just
install.packages()
andlibrary()
.
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.
… complicated? it’s a pretty easy language in comparison to others, it’s simple to use (although it can be quite terse)
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.
R is made infinitely better with tidyverse.
BJ Killjoy
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
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.
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.
What else would learning R mean? The programming language?
Being science memes, yeah, it’d be the R programming language. I thought it was something bad at first.
Learning the alphabet in 4th grade?
4 years old, not 4th grade
My 4 year old is in Kindergarten, no school until he’s 6…
Kindergarten is often counted as school.
But why? It’s different.
But it hardly is. I call it baby jail (except due to where I spent my first few years, I tend to spell jail as gaol)
Guess that’s why I was confused