Questions tagged [rstudio]
This tag should be used to ask questions about the usage, installation, configuration and upgrade of the RStudio IDE. Questions related to programming in R, Rmarkdown or Shiny should be tagged with their respective separate tags
72 questions
61
votes
10
answers
112k
views
IDE alternatives for R programming (RStudio, IntelliJ IDEA, Eclipse, Visual Studio)
I use RStudio for R programming. I remember about solid IDE-s from other technology stacks, like Visual Studio or Eclipse.
I have two questions:
What other IDE-s than RStudio are used (please ...
18
votes
5
answers
59k
views
Anconda R version - How to upgrade to 4.0 and later
I use R through the anaconda navigator, which manages all my package installations. I need to use qgraph for a project, which is dependent on mnormt library, which in turn needs RStudio verion >4.0
...
7
votes
4
answers
15k
views
Rules by which RStudio sets Headings
RStudio automatically recognizes headers in an R script that are set via comments:
I would like to exploit that feature, but I don't quite understand what the rules are for RStudio to recognize ...
4
votes
1
answer
290
views
Does the choice of normalization change dramatically the result of a KMeans
I'm using a KMeans to get the profile of several users according to several columns (I'm working with RStudio).
To analyze my clusters, I decided to realize a radar chart, so I decided to use feature ...
4
votes
1
answer
29
views
R Chart Overlay data
I have some data in a CSV that pertains to bandwidth tests, like so:
Date.Time
Mean
Standard.Deviation
2025/12/24 12:06:46
88382
6046
2025/12/24 12:22:59
93813
3986
2025/12/24 13:36:06
91530
8136
2025/...
3
votes
2
answers
133
views
sum of distances from N-points to set of other M-points in R
Imagine two related problems:
I have one 2-dim data point and a set of $M$ 2-dim other data points.
How to calculate sum of all distances between one point and those $M$ points? Result is one number.
...
3
votes
1
answer
463
views
Creating a pie chart with historical motion in Rstudio
So, I created several pie charts showing voting percentages for republicans and democrats, from 2008 to 2016 with plotly package in Rstudio. What I would like to do, to make it sleek, is create a menu ...
2
votes
3
answers
1k
views
R Studio like editor for Python?
I hope this question is okay for the forum. I want to ask for your experiance with Python editors.
Currently, I use VS-Code to work with Python. However, in R Studio I really appreciate that it ...
2
votes
1
answer
289
views
CRAN Mirror for Rstudio. Which country should I choose?
I am from Malaysia. I would like to download the R-studio package, but the first thing I need to do is to download the CRAN Mirror. In the list of R studio, there is no country Malaysia available. Can ...
2
votes
2
answers
11k
views
How to summarize(add) a column according to same year and plot in R?
I have following type of data. But I would like to have graph with X-axis as Year and add all the sales added up in that year on Y- axis.
The Data frame name is salesdata. I have nearly 8000 rows of ...
2
votes
1
answer
53
views
How can I combine two datasets and assign factors to each?
I have a very basic question (just starting with R).
I have two datasets (xlsx files) with one variable (x) and 11 observations.
I need to combine these two tables to one table with the variable x (...
2
votes
2
answers
2k
views
Running multiple random forest and combining them
I am trying to build a random forest model in R (RStudio). My training dataset has around 2 million rows and 38 variables. When I tested 5000 rows from this dataset I was able to build the random ...
2
votes
1
answer
12k
views
Replacing words by numbers in multiple columns of a data frame in R
I want to replace the values in a data set (sample in the picture) using numbers instead of words, e.g., 1 instead of D, ...
2
votes
0
answers
24
views
What would be a good threshold number to convert some categories to Not Specified
The current topic is derived from this topic: https://community.rstudio.com/t/39722 (optional to read).
I have the following dataset: myds :
...
2
votes
0
answers
59
views
Split large dataset for predictive modeling using rsparkling -sparklyr
I am trying to build machine learning models (GBM, RF, Staking)
on top of a dataset that is about 3G in size on my local computer.
However, I only have 4G memory (only 2G are available).
My question ...