This module will introduce you to the R programming language and the RStudio Integrated Development Environment. You’ll also look at some useful tools available in RStudio.
The objectives of this module are to provide you with an understanding of:
- How to download and install the R programming language
- How to download and install the RStudio IDE
- The different panes in RStudio
- How plots are formed in RStudio
- How to add comments in RStudio
- Useful keyboard shortcuts in RStudio
Aimed at all who wish to learn the R programming language.
No prior knowledge of R is assumed.
Delegates should already be familiar with basic programming concepts such as variables, scope, and functions.
Experience of another scripting language such as Python or Perl would be an advantage.
Having an understanding of mathematical concepts will be beneficial.
We welcome all feedback and suggestions - please contact us at email@example.com to let us know what you think.
What is Rstudio? RStudio is an integrated development environment where we get to write, execute or code. We also get some user friendly integrated tools. There are two formats of the RStudio software one being the desktop version, and the other being the RStudio server, which is accessible via a web browser. If I take us to the URL https://www.rstudio.com/products/rstudio/ we see this list available. I will then click on the RStudio desktop because that's the one we're gonna be looking at today. Here we have an overview of what's potentially available inside the RStudio desktop. For now I'd like to make note that this is the free version. I'll click on download RSudio desktop this will take me to a new URL, which gives me the choice between choosing an open source license or a commercial license.
For today I'm choosing to download the free version. At this URL we're now told there are two things you need to do. Firstly, you need to make sure you have installed the R programming language independent of the RStudio desktop package. and thereafter step two, you need to download the RStudio desktop, which automatically at the top of the page will give you a box to click on based on your operating system. In my instance, I'm using Windows so I will click on download RStudio for Windows.
After I've done that, after I've downloaded the exe file and run the exe file I will then hopefully see an environment that looks like this. I see three panes in my RStudio environment. The console, on the top right I'll see the Environment tab. On the bottom right I'll see the Files tab. And traditionally, you see RStudio with four panes. So I can click on File, New, Rscript. And I can note now that there are two ways for me to interact with R, one, being the console in the bottom left, and two, being the script window in the top left
Kunal has worked with data for most of his career, ranging from diffusion markov chain processes to migrating reporting platforms.
Kunal has helped clients with early stage engagement and formed multi week training programme curriculum.
Kunal has a passion for statistics and data; he has delivered training relating to Hypothesis Testing, Exploring Data, Machine Learning Algorithms, and the Theory of Visualisation.
Data Scientist at a credit management company; applied statistical analysis to distressed portfolios.
Business Data Analyst at an investment bank; project to overhaul the legacy reporting and analytics platform.
Statistician within the Government Statistical Service; quantitative analysis and publishing statistical findings of emerging levels of council tax data.
Structured Credit Product Control at an investment bank; developing, maintaining, and deploying a PnL platform for the CVA Hedging trading desk.