Installing an IDE for R development
The need to install a state-of-the-art IDE for the development of code in Power BI comes from the need to have all the tools necessary to identify any bugs and to quickly test the results of code chunks on the fly.
Tip
It is strongly suggested to test your R code in the IDE and verify the results before using it in Power BI.
There are many IDEs for R development on the market. Some examples are R-Brain IDE (RIDE), IntelliJ IDEA, and Jupyter Lab, but it is estimated that over 90% of R programmers use RStudio as their primary IDE because of the countless features that simplify their daily work. That's why we suggest you also use this IDE to test the code you'll encounter throughout this book.
Installing RStudio
Installing RStudio on your machine is very simple:
- Go to https://rstudio.com/products/rstudio/download/ and click on DOWNLOAD under the RStudio Desktop column: