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
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.
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.
Eli5?
R is a complicated statistics programming language usually used by people in undergraduate and post graduate STEM degrees.
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.
What’s nightmarish about the installation? Is it because medical stuff is still on like Win XP?
Anything more than the most basic bare-bones install of Workbench (formerly Rstudio) quickly turns nightmarish. Try setting it up on a Linux dedicated server with AD auth with auto-mounting of network shares per-user. Posit’s documentation isn’t great (or even agrees with itself across pages) even in the simplest best-case scenario, and if you deploy anything that’s even slightly complicated, it turns into a Hellscape. There’s a good chance you will end up on one of the Posit employees’ blog to read an incomplete explanation of setting up a feature because it’s entirely missing or incomplete in the documentation. This isn’t some crazy off-the-wall edge scenario either, it’s an (allegedly) supported configuration and would be a typical deployment scenario in a multi-user R environment.
Their support is absolute shit too, it’s truly fucking atrocious. First-level support will not solve your issue, I promise you that, and you won’t get anyone who actually knows WTF they’re talking about until you’re escalated at least twice. And even then, they are very much up their own ass and have a VERY snobby attitude about the product, and always assume that it’s the user at fault, even when you provide absolute 100% proof that it’s their product at fault. It obviously couldn’t possibly be their Super Precious Perfect-in-Every-Way Golden God Product, because as we’ve previously established before, it is a Perfect Product Which Does No Wrong, Ever. They also love to try and shirk responsibility and say that X is not a supported configuration for literally everything, and then claim that the documentation must be wrong when you point out in their documentation that it is.
Don’t even get me started on the Lovecraftian nightmare that is R package management. It’s even worse than the essay I just typed out, and they want to charge you essentially the entire Workbench license cost x2 to make it usable. Their logging is useless too, it has basically two settings, one of which is essentially “nothing,” and the other is “firehose of bullshit that you need to follow along in their source code to try to find anything useful.” That’s not an exaggeration, I actually had to do that to diagnose an issue and provide proof to them that yeah, it is your half-assed shit product that’s the problem.
So yeah, if you’re not just Click-Click-Click-Next installing it, it very quickly becomes nightmarish. Posit desperately needs competition in the space, because they’re absolute shit, but they can be absolute shit with impunity since they don’t have any real competition.
Can confirm, it’s not just you. I had no problem with it in college and my first job because I had full access to my system. My latest two jobs, though, fucking hell is it a pain in my ass, especially since I’m not required to use it but am doing so voluntarily to up the quality of our data analysis (it used to be terrible descriptive statistics and incorrectly performed Excel t tests). So IT doesn’t want to even touch it yet I need their constant password pasting to make it go.
I just bring my own laptop when I need to do stats to things.
My condolences. And as much as I hate Posit/Workbench, some of that is on your IT department. If I’m reading your comment correctly, you’re having issues because it needs admin privileges to update some things, namely packages. That’s honestly a very simple fix, they just need to grant your user NTFS write permissions to the Rstudio/Workbench install directory locally (and maybe some registry keys, but that’s not definite). That’s it. It’s a 10-second permanent fix and no more UAC prompts for you.
You are 100% correct. Unfortunately, due to the nature of my business, my access to sensitive information, and the mind blowing incompetence of whoever wrote our IT security policies, they won’t do so. My PC is locked down tight to keep sensitive data from wandering off… Except for how I can connect my phone (not a USB drive, those are blocked), transfer data to it, analyze it on my PC, and transfer the results back using my phone. That is actually the IT sanctioned workaround. It makes my brain hurt.
I guess I must’ve saved my IT department some headache when me and my colleagues just asked for RStudio IDE. Everything runs perfectly well, no need for any of the garbage you just described. I literally just need an IDE to write scripts in. I’d say I don’t even need the IDE, except I do use
rstudioapi::getActiveDocumentContext()$path
to set the working directory and work with relative paths. Plus I just like it, barebones as it is (and dark mode).Sorry for the nightmare you clearly had to go through. :(
How is Pak better than pacman, which is my preferred package management solution for R.
I’ll admit it’s been awhile but about 10 years ago, it could be a thing. One guy needed almost a week of hands on to get it right.
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.
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).
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’m not sure if you’re using Quarto or not, but use it almost daily and frequently write R and Python in the same file without any noticeable overhead.
See everyone I know who uses R ends up at that point when there’s just no way around learning it and using it 😂
… 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.
Thank you very much
ELI4?
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)
OIC ok
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.
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.
BJ Killjoy
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 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)
But why? It’s different.
And now here in California, they are starting “Transitional Kindergarten” or TK for the 4 year olds, before they go to Kindergarten at five. (More focus on reading and writing than a typical Preschool.) TK is offered at the normal public schools, and at most private schools that have K and up.
Guess that’s why I was confused
4 years old. so probably pre-Kindegarten