Skip to main content
Share Your Experience: Take the 2024 Developer Survey
25 votes
Accepted

IDE alternatives for R programming (RStudio, IntelliJ IDEA, Eclipse, Visual Studio)

RIDE - R-Brain IDE (RIDE) for R & Python, Other Data Science R IDEs, Other Data Science Python IDEs. Flexible layout. Multiple language support. Jupyter notebook - The Jupyter Notebook App is ...
karupakalas's user avatar
17 votes

Anconda R version - How to upgrade to 4.0 and later

You need to create a new environment and then you can install R 4.+ in Anaconda. Follow these steps. conda create --name r4-base After activating ...
Rheatey Bash's user avatar
12 votes

IDE alternatives for R programming (RStudio, IntelliJ IDEA, Eclipse, Visual Studio)

You may try using R with Jupyter notebook. It requires installation of jupyter R kernel, IRkernel which will allow you to open a new jupyter notebook with option to choose ...
Samir's user avatar
  • 296
5 votes

R Studio like editor for Python?

Spyder is quite similar to R-studio.
fuwiak's user avatar
  • 1,373
5 votes

IDE alternatives for R programming (RStudio, IntelliJ IDEA, Eclipse, Visual Studio)

You can try R-Brain platform (r-brain.io). R-Brain provides an integrated cloud/on-premises data science platform for developing models with popular open source languages. Powered by Jupyter, our IDE, ...
Shadi's user avatar
  • 51
4 votes
Accepted

Does the choice of normalization change dramatically the result of a KMeans

Yes. Feature scaling can completely change the clustering result. People usually scale data to [0:1] or to have a standard deviation of 1. However, that is nothing but a heuristic. In many cases, ...
Has QUIT--Anony-Mousse's user avatar
4 votes

Rules by which RStudio sets Headings

It's kind of ugly but if you want a subsection to fold up inside the section but also be foldable on its own you can use curly braces at either end of the subsection. ...
see24's user avatar
  • 141
4 votes

Rules by which RStudio sets Headings

RStudio seems to recognize subheaders when they lie within functions. For example: ...
Chris's user avatar
  • 41
3 votes

Rules by which RStudio sets Headings

To have sections, subsections, sub-sub sections ...
EBBY THOMAS's user avatar
2 votes

How to summarize(add) a column according to same year and plot in R?

Step 1: Changing dates to years First you can change your column of dates (Order_Date) to simply years by using this formula: ...
Paul's user avatar
  • 146
2 votes
Accepted

Different R Markdown in same document for each output type

I was able to get different inclusions and rendering with the following document: ...
r2evans's user avatar
  • 136
2 votes
Accepted

How to create a matrix from two given vectors in R in RStudio?

x <- c(1, 2, 3, 4) y <- c(2, 4, 5, 6) z <- matrix(c(x, y), nrow = length(x)) zz <- cbind(z, c(8, 9, 10, 11))
Nick F's user avatar
  • 136
2 votes

Anconda R version - How to upgrade to 4.0 and later

Rstudio does not support Anaconda so you are stuck with the version they provide. Your best option is to install R and RStudio outside Anaconda.
Darren's user avatar
  • 21
2 votes

Segmented function in R?

Have you looked at the documentation of the function? psi and npsi seem to indicate the breakpoints and the number of ...
Oxbowerce's user avatar
  • 7,592
1 vote

Creating dummy variables

The lubridate package provides functions to easily convert character strings into dates in a sensible way. For example, the dmy ...
Ben Norris's user avatar
1 vote

Anconda R version - How to upgrade to 4.0 and later

Try install through anaconda prompt and the following path conda install -c conda-forge r-mnormt Then install qgraph one more time
Louis Luk's user avatar
  • 111
1 vote
Accepted

Keeping DataFrame in Memory while working - R vs Python in VS Code

This is more about the IDE than the programming language. When you use RStudio, you can import the data and the IDE saves it in its memory so you don't have to reload it when you write subsequent code ...
Derek O's user avatar
  • 354
1 vote

How can I combine two datasets and assign factors to each?

Hierarchical indices Have a look at here (scroll a bit underneath for the code)
Noah Weber's user avatar
  • 5,679
1 vote
Accepted

Y-axis output is not order

It is in order, but not in the order that you want. It is currently treating the indices as a string. To get your desired index as numerics, here are some codes that hopefully can help you. ...
Siong Thye Goh's user avatar
1 vote

R Studio like editor for Python?

A less common option would be the IDE called Rodeo. It was designed to mimic RStudio and may provide many of the features you are seeking. There is also something called Reticulated Python that allows ...
Darrin Thomas's user avatar
1 vote

Replacing words by numbers in multiple columns of a data frame in R

I guess this is off-topic but here's a reproducible code: ...
TitoOrt's user avatar
  • 1,872
1 vote

where does the downloaded file gets stored in the R-Studio Server on Ubuntu EC2 Instance when using download.file()

It'll put it exactly where you asked for it: destfile = "Haberman.txt" that is, a file called Haberman.txt in the current ...
Spacedman's user avatar
  • 1,992
1 vote

Creating a pie chart with historical motion in Rstudio

Shiny App, will be the place to display the graphics, however the animation you are looking for is not something that plotly would create, to the best of my ...
Drj's user avatar
  • 427
1 vote

How do I fix space allocation error on a machine with plenty of space?

It doesn't matter that your instance has more than 57.8GB. R is asking for another 57.8GB on top of whatever it is already using. Not to mention any operating system overhead. Shrink your dataset and ...
Spacedman's user avatar
  • 1,992
1 vote

Kmean clustering on text data

Kmeans utilize the mean of your data points for clustering . If your dataset is made of plain text or other type of factors (i.e not numbers) then it wont work for you . You need to do another step of ...
Latent's user avatar
  • 313
1 vote
Accepted

error trying to build a histogram using r with the rStudio application

The following code : data.frame(table(country$continent)) will create a dataframe where one column is the continent and the other is the number of countries in ...
keiv.fly's user avatar
  • 1,259
1 vote
Accepted

found \N in my data does not count as missing values in r

The reason its shorws an error, bacause '\' is a part of base regex expressions in R. As states here: The metacharacters in extended regular expressions are . \ | ( ) [ { ^ $ * + ? So the ...
Yaroslaw Homenko's user avatar
1 vote

Running multiple random forest and combining them

There are something like 30 random forest packages in R. "randomForest" is one of the first implementations and so is well known, but it's not great for large datasets. "ranger" is ...
Tori Oblad's user avatar
1 vote

Errors generated in Rstudio

You need to convert the elements of corpus to character: ...
Mortezaaa's user avatar
  • 481

Only top scored, non community-wiki answers of a minimum length are eligible