R/C2/Installing-R-and-RStudio-on-Windows/English-timed

From Script | Spoken-Tutorial
Jump to: navigation, search
Time Narration
00:01 Welcome to this tutorial on Installing R and RStudio on Windows.
00:06 In this tutorial, we will learn how to:
00:09 Install R version 3.6.1
00:13 Install RStudio version 1.1.463 on Windows 10
00:19 Open RStudio interface
00:23 Install packages
00:26 To install R and RStudio, we will use
00:30 Windows 10 ,
00:32 A working Internet connection.
00:35 Now we will learn how to install R on the Windows 10.
00:39 Open an Internet browser. I am using Firefox for browsing.
00:45 In the address bar, type the following address and press Enter.
00:52 Under the tab Getting Started, click on Download R link.
00:58 A page named CRAN Mirrors opens.
01:03 Under the mirror 0-Cloud, click on the given link.
01:09 A new page The Comprehensive R Archive Network opens.
01:14 Under the section Download and Install R, click on Download R for Windows.
01:22 A new page R for Windows opens.
01:27 Under Subdirectories heading we have a list of subdirectories.
01:31 In the subdirectory named as Base, click on the link Install R for the first time.
01:39 A new page R-3.6.1 for Windows opens.
01:45 Click on the link Download R 3.6.1 for Windows.
01:51 A Save file dialog box opens.
01:53 Click on the Save File button.
01:57 The exe file is being downloaded.
02:01 We will wait until the downloading is complete.
02:04 By default, the exe file will be downloaded to the Downloads folder.
02:10 The downloading is now complete.
02:13 We will go to the Downloads folder.
02:18 Double click on the downloaded exe file for R 3.6.1.
02:24 It will open a prompt seeking your permission to begin the installation of R.
02:31 Click Yes to continue.
02:35 Select Setup Language window opens.
02:38 By default, the language is set to English.
02:42 Click on OK button to continue.
02:45 A window with important information opens.
02:49 Read the information about the license and click Next button to continue.
02:56 Select Destination Location window to install R opens.
03:03 We will keep the default location and click Next to continue.
03:07 Select Components window to install R opens.
03:12 We will keep the default options.
03:15 Click Next button to continue.
03:19 Startup options window opens.
03:21 We will leave the default option, No as it is.
03:25 Then click Next to continue.
03:29 Select Start Menu Folder window opens.
03:32 We will keep the default options.
03:35 Then click Next button to continue.
03:39 Select Additional Tasks window opens.
03:42 In the window click on the checkbox for Create a desktop shortcut.
03:48 Click Next to continue.
03:51 We will wait until the installation of R is complete.
03:56 Completing the R for Windows 3.6.1 Setup Wizard message appears.
04:03 The installation of R is now complete.
04:07 Click Finish to exit the setup.
04:10 Now, we will verify whether R has been installed successfully.
04:16 We can see that the shortcuts to launch R have been created on the Desktop
04:23 There are two different icons, which refer to 32-bit and 64-bit installations.
04:30 Double click on the 64-bit icon.
04:34 The command line interface for R opens.
04:38 We can see that R Version 3.6.1 has been installed.
04:44 Here we can run the commands using the command-line interface.
04:49 Let us perform some mathematical operations using R.
04:54 We will compute the value of mathematical constant e.
04:59 Remember e is the base of the natural logarithm.
05:03 Type exp followed by 1 in parentheses and press Enter.
05:09 The required value is displayed.
05:12 It means that R has been installed successfully.
05:16 Now we will proceed to install Rstudio.
05:20 For this we need to quit the current session of R.
05:24 Type q followed by parentheses and press Enter.
05:29 It asks whether you want to save the workspace image.
05:34 As we have nothing to save click No to continue.
05:38 Now, we will install RStudio version 1.1.463.
05:44 Open an Internet browser. I am using Firefox for browsing.
05:50 Type the following address in the address bar and press Enter.
05:57 RStudio home page opens.
06:01 Click on Download RStudio button.
06:04 A page named Download RStudio opens.
06:10 Scroll down and locate the RStudio Desktop Open Source License.
06:15 Under this license, click on the DOWNLOAD button.
06:19 You will be directed to Installers for Supported Platforms section.
06:26 Above this section, click on the link Older versions of RStudio.
06:32 Older Versions of RStudio page opens.
06:35 Scroll down and locate the section RStudio Desktop 1.1.463.
06:44 Locate the operating system Windows and click on the Installer link next to it.
06:52 A Save file dialog box opens.
06:54 Click on the Save File button.
06:57 The exe file for RStudio 1.1.463 is being downloaded.
07:04 By default the exe file will be downloaded in the Downloads folder.
07:10 We will wait until the downloading is complete.
07:13 The downloading is now complete.
07:16 We will go to the Downloads folder.
07:20 Double click on the downloaded exe file for RStudio 1.1.463.
07:27 It will open a prompt seeking your permission to begin the installation of Rstudio.
07:34 Click Yes to continue.
07:38 Welcome to the RStudio Setup Wizard window to begin the installation opens.
07:45 Click Next to continue.
07:47 Choose Install Location window to install RStudio opens.
07:53 We will keep the default location and click Next to continue.
07:58 A Choose Start Menu folder window opens.
08:02 We will keep the default options.
08:05 Then click Install to continue.
08:08 We will wait until the installation of RStudio is complete.
08:14 Completing the RStudio Setup Wizard message opens.
08:19 The installation of RStudio is complete.
08:23 Click Finish to close the setup.
08:26 Now, we will verify whether RStudio has been installed successfully.
08:31 Go to the Start menu of your computer and search for RStudio.
08:37 Once the RStudio appears, click on it.
08:41 RStudio is launched.
08:44 We will clear the Console before moving further.
08:48 Click in the Console window and press Ctrl and L keys together.
08:53 Now, we will run a plot command.
08:56 In the Console window, type plot and in parentheses 1:5 and press Enter.
09:04 The required plot is generated.
09:07 In the right lower side of RStudio, click on Packages.
09:13 Now, we will install a few packages, which will be required later in this series.
09:18 We will install
plyr,  MASS,  ggplot2 and  dplyr 
09:28 Let us switch to RStudio.
09:31 Make sure that you are connected to the Internet.
09:35 In the Console window, type the following command and press Enter.
09:42 We will wait until the installation is complete.
09:47 plyr package is now installed.
09:51 I will clear the Console before moving further.
09:55 Click in the Console window and press Ctrl and L keys together.
10:01 Now, we will install another package named as MASS.
10:06 Type the following command and press Enter.
10:11 We will wait until the installation is complete.
10:16 MASS package is now installed.
10:18 I will clear the Console window again.
10:21 Click in the Console window and press Ctrl and L keys together.
10:27 Now, we will install ggplot2 package.
10:31 In the Console window, type the following command and press Enter.
10:38 We will wait until the installation is complete.
10:42 Depending upon your speed of the Internet, it may take 4 to 5 minutes.
10:48 ggplot2 package is now installed.
10:53 I will clear the Console window again.
10:56 Click in the Console window.
10:58 Press Ctrl and L keys together.
11:02 Now, we will install dplyr package.
11:06 In the Console window, type the following command and press Enter.
11:13 We will wait until the installation is complete.
11:17 Depending upon the speed of the Internet, it may take 4 to 5 minutes.
11:24 dplyr package is now installed.
11:28 Let us summarize what we have learnt.
11:30 In this tutorial, we have learnt how to,
11:33 Install R version 3.6.1
11:37 Install RStudio version 1.1.463 on Windows 10
11:44 Open RStudio interface
11:46 Install packages
11:49 The video at the following link summarises the Spoken Tutorial project.
11:53 Please download and watch it.
11:56 We conduct workshops using Spoken Tutorials and give certificates.
12:01 Please contact us.
12:03 Please post your timed queries in this forum.
12:06 Do you have any general/technical questions?
12:10 Please visit the forum given in the link.
12:13 The FOSSEE team coordinates coding of solved examples of popular books.
12:19 We give honorarium and certificates to those who do this.
12:24 For more details, please visit these sites.
12:28 The Spoken Tutorial project is funded by MHRD, Govt. of India
12:33 This tutorial is contributed by Madhuri Ganapathi and Sudhakar Kumar from IIT Bombay.
12:40 Thank you for watching.

Contributors and Content Editors

Sakinashaikh