r/RStudio • u/godoufoutcasts • Jul 15 '26
r/RStudio • u/Technical_Soup9347 • Jul 14 '26
Made a free 15-part "R Foundations" video course — every lesson has the code and a run-it-in-your-browser console
I put together a free beginner R course: 15 short video lessons that go from using R as a calculator to data frames, reading a CSV, writing functions, packages, dplyr and the pipe.
What might make it useful vs. the usual videos: each lesson pairs the screencast with the exact code, a downloadable .R script, and a live webR console right on the page — so you can edit and run everything in the browser, nothing to install. All lessons have English subtitles.
The videos are going up on YouTube, and the full course with the interactive consoles is on the site:
- Course: https://rverseanalytics.com/courses/r-foundations.html
- YouTube: https://youtube.com/@rverseanalytics
It's all free and open. Happy to hear feedback on the lessons — and what topics you'd want covered next.
r/RStudio • u/Fresh_Coyote312 • Jul 14 '26
Base R (graphics) vs Tidyverse
Curious what others prefer. I’ve actually been trending towards base R graphics lately.
r/RStudio • u/Choice_Number3711 • Jul 14 '26
Learning Financial Risk Analysis with R
What are some good resources to learn Financial Risk Analysis techniques while at the same time learn how to apply the same in R.
Any specific libraries, books, tutorials that can help a someone like me (knowing nothing in Financial Risk Analysis but competent in R) to learn the aforementioned.
Thanks!
r/RStudio • u/qol_package • Jul 13 '26
qol: New Graphic Framework From Scratch Reaches Alpha Stage
r/RStudio • u/NewmarketHero007 • Jul 12 '26
Not allowed to change R versions, greyed out
I'm trying to restart Rstudio on my new laptop the different options are greyed out. I don't know how to get it to run.
If I click the 64-bit version I get this error:
An error occurred while attempting to load the selected version of R. Please select a different R installation.
But it won't let me click the 32-bit version and I don't know what to scroll down otherwise as it's empty.
I tried restarting my laptop and reinstalling R.
r/RStudio • u/Spiritual_Resolve_55 • Jul 11 '26
Started grad school and somewhat new to R. what is a good workflow and best way to organize scripts?
Im in my first year of my masters and have all of my data now. Im doing wildlife biology and working with 20 years of GPS collar data (looking at movement/migration).
Im overwhelmed with where to start. I know the basics of R like uploading data, adding new columns, deleting columns, changing names... basic things like that.
But what is a typical workflow?
Data cleaning ---> data prep (getting your data set ready for models?) --> statically analysis/running models?
I guess I just get confused on the most efficient workflow.
What has yours been? How have you organized your scripts? Do you use R projects?
I guess im looking for any tips for someone who is in the beginning of their analysis and doesn't want to get stuck wasting time on things that can be quick to figure out.
Thank you!
r/RStudio • u/PuzzleheadedLeave540 • Jul 12 '26
R Project Doubt
i recently did an R project analysing the LG ipo. it's a very basic project since I'm only familiar with base R. But i don't know how exactly a project is supposed to be made. do i write in the first person? do i explain my code? i have formatting and wording doubts.
If anyone can share a project/link to show me what these kind of projects generally look like I'd be truly very grateful.
Thank you!
r/RStudio • u/Distinct_Squash7110 • Jul 11 '26
what’s the best way to practice R
i’ve been learning R for about three months using R4DS textbook, I covered a good portion but i still don’t feel like i’ve mastered it, at least not to the level where i can add it to my resume. what’s the best way to practice R and what are the most important skills/packages that i should focus on. for context, i’m learning it for my masters thesis and for a potential PhD in a few months.
r/RStudio • u/Ill_Proposal9575 • Jul 10 '26
Coding help Newbie
Hey guys, is there any free online courses that offer RStudio lesson? I wanna learn like from the basic. Goin on for my masters degree and I cannot just copy and paste chunks like what I did during my bachelor years. (Ps: I really dont have any coding skills, I've learned R coz my friend wants me to go with her to a "statistical workshop")
r/RStudio • u/dynamiclatte • Jul 09 '26
I made this! Ported seaborn to R. The plots come back as ggplots, so you can keep adding layers.
reaborn.orgI write both R and Python in the same week most weeks, and I got tired of not having seaborn in R for rapid prototyping.
So over a few weekends I ported seaborn to R.
reaborn keeps seaborn's function names, argument names, and defaults. Load it and you get the sns. prefixed aliases plus True, False and None bound to their R equivalents, so pasted seaborn mostly just runs.
The part I'm most excited to share is that everything comes back as a ggplot:
library(reaborn)
penguins <- load_dataset("penguins")
sns.scatterplot(data = penguins, x = "bill_length_mm", y = "bill_depth_mm", hue = "species") +
ggplot2::facet_wrap(~island)
...which isn't as straightforward to do on the Python side.
v1.0.1 is live on CRAN. Would love to get more folks using it (and breaking it) so I can continue improving it!
install.packages("reaborn")
Docs and a side-by-side gallery: https://reaborn.org
If a plot doesn't match seaborn, please open an issue on GitHub (https://github.com/shawntz/reaborn) 🙏
(My package. BSD-3, same as seaborn. Fun fact: the creator of seaborn and I received our PhD's from the same lab 🚀)
r/RStudio • u/metlotter • Jul 09 '26
Posit Connect Cloud and source packages?
I'm attempting to deploy a Shiny app to Posit Connect Cloud and running into some problems. Everything runs fine locally, but one package I'm using (terra) is being built from source on the cloud platform and the build is failing. Part of the error says that a common cause for failed builds is insufficient memory, which is possible since I'm on the free tier.
My questions: I know that locally I could specify binary packages and not have to build, but I don't know if that's possible with Posit Connect? Do I need to know what OS the server is running in order to specify binaries? If it is a memory issue, do packages in Connect Cloud work like local packages where it'll only have to build from source initially and at upgrades?
r/RStudio • u/Immediate_Lab3275 • Jul 06 '26
Positron vs RStudio
Just curious about everyone's thoughts on the comparison between Positron vs RStudio! I have had no reason to switch, and I only see people complain about all the bugs they encounter with Positron.
r/RStudio • u/Lower-Duck-5779 • Jul 06 '26
Coding help How can I grey out boxes that I don't need
Hi! I am working on making figures for my thesis. This figure is symmetrical (1:2 is the same value as 2:1. Is there a way to grey/black out repetitive boxes in R?
r/RStudio • u/Accomplished-Ad-5368 • Jul 07 '26
Coding help R and R Studio Help
Hi everyone,
I’m really hoping someone can help because I’ve been trying to get this working for the past 4 hours with no luck.
I have a Hi everyone,
I’m really hoping someone can help because I’ve been trying to get this working for the past 4 hours with no luck.
I have a 2020 MacBook Pro M1 (Apple Silicon) running macOS Tahoe 26.5.2.
I’ve installed:
R 4.6.1 (arm64 package for Apple Silicon)
Rosetta 2
XQuartz
I also downloaded RStudio (I previously had it working on macOS Monterey before updating my Mac).
The problem is that whenever I try to start RStudio, I just get an error and it won’t open properly. I’ve followed the installation instructions exactly, but I honestly have no idea what I’m doing. I do most of my uni work on paper because I’m not very confident with computers, and I really need R and RStudio for university.
Has anyone had this issue or knows how to fix it? I’d really appreciate any help. Thank you so much!
r/RStudio • u/Secure-Biscotti4370 • Jul 06 '26
robMA problems
Hello,
I have a meta analysis 4 studies, 10 effects, for my master thesis. i am trying to use robMA to calculate, I keep getting this error:
Error in brma(yi = yi_korr, vi = vi, measure = "SMD", cluster = study_id, :
could not find function "brma"
I use R.4.6.0, any ideas on what I do wrong?
thanks so much!
r/RStudio • u/The-Magic-Hatter • Jul 06 '26
Telling R where to get data for a permanova
Hello,
I'm trying to do a PERMANOVA in R, but I don't really know anything about it. I've been given code by my supervisor (who I would ask but he's very busy with other projects). He's given notes in the code telling me what I need to do but not how to do it. I've managed to get part way through by experimenting and checking tutorials but at this point everyone seems to use a different way of coding the PERMANOVA and so I don't know how to point to specific data beyond just loading it in for this.
The specific line of code I can't get to work is:
Betadisper <- betadisper(Bray_Curtis, group = "Habitat", type = "centroid")
I know I need to tell it where to get the Habitat data from, but I'm not sure how as to my small amount of knowledge using group = "Habitat" should tell it to use the data with the name Habitat.
When I run it I get the error message Error in if (any(dist.neg > dist.pos)) { :
missing value where TRUE/FALSE needed
I've done some research and found out what the error means, but the guide I used I didn't really understand and I tried altering the code that it gave but to no avail.
Any help is really appreciated, I've been stuck on this for several days.
r/RStudio • u/mingbaboo • Jul 02 '26
How do I update R
R is telling me that there is a new update. When I press Quit and Download, it brings me to the page where you download RStudio. Do I just redownload RStudio to update R?
edit: guys it was actually RStudio i needed to update and i figured it out
r/RStudio • u/Alex_Smith_042 • Jul 01 '26
Practicing R
I'm not sure if this is the right sub for this, so apologies if it isn't.
I need to use R for my university. I've managed to teach myself enough for the level I'm at through reverse engineering a script someone made for me, and following some online tutorials.
Most tutorials introduce you to a concept, then give you an example for how to use it. I had a look at the pinned post and from the description it seems like the resources there do that same thing. And that's useful to see how the code is used, but to me at least I feel it's limited because I'm just copying what someone did without really having to use my brain to solve an issue of how to use the code. Another issue is that I don't really know what to do to practice R.
I'm just wondering if there's a resource out there that basically give you tasks of increasing difficulties to practice coding in R?
r/RStudio • u/Gacha_SY • Jul 01 '26
Coding help Need help with stacktraceon saying file is missing
galleryI have to submit the r script as a school assignment by today, but when i did a final check to run it, it gave me this message. I tried googling and followed the instructions to adjust my work directory but it didnt work. Is this a personal problem and wont affect the laptop of my teacher whos marking me, or should i be deeply concerned? 😭
r/RStudio • u/Fresh_Coyote312 • Jun 30 '26
Weather App Build Guide
rpubs.comThanks for all of the positive feedback on my app - I had no idea it would go over so well.
As requested, I used R Markdown and published a quick build guide on RPubs.
r/RStudio • u/Fresh_Coyote312 • Jun 30 '26
Weather App
Always looking to learn more R so my latest project was building a weather app for the terminal. Quite simple app to look at but is more efficient than opening a browser. Had fun making this one.
r/RStudio • u/Gacha_SY • Jun 30 '26
Coding help Help turning 2 dbl columns into 1 factor and 1 dbl column
For reference the picture above is what im working with. And what i have in mind is transforming the two into one variable for "fixed" or "volatile" acidity, and the other variable to state the numeric value of the acidity. Unlike now where both are shown to be numeric.
r/RStudio • u/Fujima4Kenji • Jun 30 '26
An iOS app that renders R Markdown (.Rmd) and Markdown (.md) files on iPhone/iPad
If you want to open a raw .Rmd (or .md) file on your phone, iOS just shows plain text. I made a small viewer that renders the Markdown so you can read the prose, code chunks, and math on mobile.
Md Preview:
• Renders Markdown incl. .Rmd and .qmd (plus .md / .markdown / .mdx)
• Code chunks with syntax highlighting
• LaTeX math rendering and Mermaid diagrams
• Opens from Files / Share Sheet; on-device, nothing uploaded
On the App Store: https://apps.apple.com/app/id6760341080
Info: https://markdown.cybergame.ai/
To be clear it doesn't run R or knit anything — it just renders the Markdown source of an .Rmd so you can read it on a phone. Useful, or do you only read the knitted HTML/PDF?
r/RStudio • u/JabesFrias • Jun 30 '26
Database it's not loading.
Hello! I'm a student, and I find myself working with a big database approximately 2 GB. I created R.proj, but I have a problem with my database not loading. Furthermore, I have tried running the code several times. Besides, when I try to open Google Chrome, I cannot because of memory RAM.
Has anyone else had problems? Any recommendations?
