From the course: Descriptive Healthcare Analytics in R

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Navigating in R

Navigating in R - R Tutorial

From the course: Descriptive Healthcare Analytics in R

Start my 1-month free trial

Navigating in R

- [Voiceover] Welcome to Navigating in R. Let's actually run R together and I'll be your tour guide as we explore the interface. First, when we open R, I'll show you what the R console is and how to use it. I will demonstrate making and saving R code and show you what happens when you run code in R that produces graphics. Finally, I will describe R packages and show you how to add them. As I said before, lets choose the x64 icon and double click it to run R. See how the first window that opens say R console on it? This is the window where you will run all your code. Click on it and you can highlight or select the window. When this happens, you get different menus above. For example, lets set a default directory for your session. You can choose File, Change dir and select a default directory. So where is the code? We can start a new code file by choosing File, New Script. Let me type some super simple example code in here. Let's make a variable called "a" that is the value of 12. We…

Contents