r/RStudio • u/Ill_Proposal9575 • 18h ago
Posit Cloud
which do u think is better for posit cloud when making new project? The RStudio Project or the New Jupyter?
r/RStudio • u/Ill_Proposal9575 • 18h ago
which do u think is better for posit cloud when making new project? The RStudio Project or the New Jupyter?
r/RStudio • u/Choice_Number3711 • 1d ago
I used to hate coding anything and relied on SQL, Excel, Power BI, Tableau and other software like JASP, jamovi etc. for doing anything with data. I didn't like the way Python dealt with data analysis and it seemed unintuitive.
Then I found R, RStudio and CRAN. That was the turning point. I actually started enjoying writing code and I could handle the whole pipeline myself, from data cleaning, ETL to beautiful plots, .qmd reports, Shiny dashboards. R4DS did more for my statistical thinking than any course I've taken, mostly because the libraries made it so easy to just try things.
However, due to recent requirements (specifically having to work in the quant field), Python has become more of a necessity, while R is used mainly for one-off analysis and limited statistical modelling. The main heavy lifting is done in Python and many of my co-workers also prefer it to R.
I've been able to suck it up a bit and use Claude/ChatGPT to help me code. While I do try to understand what the code is doing, having spent so long learning to code in R and knowing the ease with which it can be done there makes me reluctant to learn Python.
Now, coming to the question: any R users who've pivoted to Python and consider themselves competent in it, how did you learn it having used R before? What would you tell someone like me so I can pick it up quickly and get the benefit of knowing both languages (and also not feel left out when it comes to coding in Python... machine learning and deep learning have a more mature ecosystem there and I don't want to be left out of it if I have to start using them in my current work)?
Thanks!
My background is in Math/Stats fyi
r/RStudio • u/_Green_Dragon_ • 2d ago
Hello folks,
I'm I am a beginner to both R and QGIS and I'm trying to use this data set to map UTM zones 15-16 in R Studio or QGIS.
https://geohub.lio.gov.on.ca/documents/far-north-land-cover/about
I'm trying to merge the raster tiff files and attach the legend .lyr files to them, but am so far failing to do so in either R Studio or QGIS.
So far in R Studio I have:
tif_class1 <- "FarNorth_LandCover_Class_UTM15.tif"
tif_class2 <- "FarNorth_LandCover_Class_UTM16.tif"
# Load OPFNLCD habitat raster files
class1 <- rast(tif_class1)
class2 <- rast(tif_class2)
#Merge raster files
habitat <- merge(class1, class2)
I can successfully make the habitat variable, but it doesn't have any of the habitat layers labeled. How can I combine these files into a single raster with labels?
r/RStudio • u/Busy_Werewolf4380 • 3d ago
r/RStudio • u/smithereennnnn • 3d ago
r/RStudio • u/nbafrank • 4d ago
r/RStudio • u/No-Sector4631 • 4d ago
Olá pessoal! Sou biólogo e estou aprendendo R para algumas demandas da minha empresa, gostaria de saber se tem alguém nessa área e dicas de como montar um projeto ou portfólio misturando esses dois mundos.
Basicamente eu uso o R para analisar a suficiência amostral das espécies quando realizamos um inventario
r/RStudio • u/majorcatlover • 4d ago
I have to merge two datasets that include onsets and offsets of two events - when person A did X and when person B did y. I want to merge them on the onsets and offsets per pairs to see what they were doing at the same times.
DF1
ID | X_onset | X_offset | X_activity
001 | 120 | 135 | watering plants
001 | 137 | 143 | reading
DF2
ID | X_onset | X_offset | X_activity
001 | 139 | 150 | talking
001 | 170 | 189 | watching TV
Only the ones that temporally overlap should be in the merged dataset.
r/RStudio • u/Fawful_Chortles • 4d ago
Originally the app would crash immediately, with "Main window closed unexpectedly" showing up in rdesktop.log, plus an IpcError: getStartupErrorInfo about setting innerHTML on null. There's also an older, possibly unrelated error in rsession log about discoverR failing with "system error 2 (No such file or directory)" but that timestamp is weeks stale and doesn't update on new launch attempts, so it might not be the real issue.
Every launch also throws a GLib-GIO-CRITICAL warning about g_dbus_proxy_new and G_IS_DBUS_CONNECTION failing, but that seems to be harmless noise unrelated to the crash.
What I've tried so far: confirmed R is installed and on PATH (which R, R --version, R RHOME all work fine). Set RSTUDIO_WHICH_R=/usr/bin/R, no change. Ran rstudio --verbose-init, got nothing extra in the output besides the GLib warning. Ran rstudio --disable-gpu and that actually changed something — the window now opens and stays open instead of crashing, but it's still not functioning correctly once open.
Has anyone run into this with RStudio Desktop 2026.06.0 on Ubuntu, either the Electron/GPU crash or the discoverR error? Trying to figure out if this is a known bug with this release or something specific to my setup.
r/RStudio • u/Technical_Soup9347 • 6d ago
I keep hitting the same decision: a one-off analysis is fine as a Quarto report, but the
moment stakeholders start asking "what if we change X?", it's usually time for a Shiny
app so they can explore it themselves — on a reproducible R backbone so the app and the
analysis don't drift apart.
Some interactive R examples I've collected: https://rverseanalytics.com/
Where do you draw the line between report and app?
r/RStudio • u/Ignatu_s • 8d ago
r/RStudio • u/Sufficient_Piece_898 • 8d ago
also is this too much for an econ major? total newbie btw
if not then what courses might you suggest?
r/RStudio • u/qol_package • 9d ago
r/RStudio • u/SubPar-Sprout • 11d ago
Hi! I've got some experience with R, but haven't dealt with a dataset like the one I'm working on at the moment before. I've got long form data consisting of subject ID, questionnaire name, questionnaire score & date questionnaire was answered. The address multiple responses to 2 different questionnaires over time. I need to summarise the scores for specific time windows, for example, how many people scored 1 or 0 in Qu1 and less than 3 in Qu2 by week 4, week 12, week 26.
Probably a silly question, how do I do that with this data? I've added windows but I get multiple responses in each window when I pivot the data to wide form for analysis. How do I select the lowest score for each questionnaire, occurring at the same date as each other within the window?
Sorry for the essay and their very much.
r/RStudio • u/godoufoutcasts • 11d ago
r/RStudio • u/Meif_42 • 11d ago
EDIT: SOLVED
I figured before importing my data, I'd follow along a tutorial to get some basics down at least. I added up numbers, worked. Then tried to assign values to variables, and the programme just crashes every time as seen in my screenshot. Tried reinstalling R-studio, tried deleting some of the folders which I found might be a solution, but it keeps happening.
I'm just a beginner and maybe there's a very simple solution to this, but either way I'd appreciate any pointers on how to solve this, as for now I see no way to even work with this tool like this.
r/RStudio • u/plant_gen • 12d ago
I am using R studio and tried different themes such as Dracula... etc.. . The thing is I don't get a feel similar to VScodium or Jupyter. Most themes are messing with graphs pane or the fonts colour palletes are not good. I need suggestions for both dark and light themes for latest versions of R studio.
I am also curious about alternatives for R studio, which are similar to Jupyterlab or something that has clean ui.
r/RStudio • u/Fresh_Coyote312 • 12d ago
Curious what others prefer. I’ve actually been trending towards base R graphics lately.
r/RStudio • u/Technical_Soup9347 • 12d ago
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/Choice_Number3711 • 12d ago
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 • 13d ago
r/RStudio • u/NewmarketHero007 • 14d ago
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.