<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=R%2FC2%2FIntroduction-to-RStudio%2FEnglish-timed</id>
		<title>R/C2/Introduction-to-RStudio/English-timed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=R%2FC2%2FIntroduction-to-RStudio%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Introduction-to-RStudio/English-timed&amp;action=history"/>
		<updated>2026-04-30T07:59:46Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Introduction-to-RStudio/English-timed&amp;diff=51894&amp;oldid=prev</id>
		<title>Sakinashaikh: Created page with &quot;  {| border =1 |'''Time''' |'''Narration'''  |- ||  00:01 ||Welcome to this tutorial on '''Introduction to R Studio.'''  |- || 00:06 ||In this tutorial, you will learn about t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Introduction-to-RStudio/English-timed&amp;diff=51894&amp;oldid=prev"/>
				<updated>2020-05-08T07:08:31Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;  {| border =1 |&amp;#039;&amp;#039;&amp;#039;Time&amp;#039;&amp;#039;&amp;#039; |&amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039;  |- ||  00:01 ||Welcome to this tutorial on &amp;#039;&amp;#039;&amp;#039;Introduction to R Studio.&amp;#039;&amp;#039;&amp;#039;  |- || 00:06 ||In this tutorial, you will learn about t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
{| border =1&lt;br /&gt;
|'''Time'''&lt;br /&gt;
|'''Narration'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||  00:01&lt;br /&gt;
||Welcome to this tutorial on '''Introduction to R Studio.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:06&lt;br /&gt;
||In this tutorial, you will learn about these features of '''Rstudio''':&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:13&lt;br /&gt;
||'''Source '''and '''Console '''windows &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:15&lt;br /&gt;
||'''Workspace; Plots '''and '''Files '''window&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:21 &lt;br /&gt;
||How to install '''packages''' of '''R'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:24&lt;br /&gt;
|| To understand this tutorial, you should know: &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:28&lt;br /&gt;
||Elementary Maths &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:32&lt;br /&gt;
||Basic commands of''' R'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:36&lt;br /&gt;
||If not, please locate the relevant tutorials on '''R''' on this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:41&lt;br /&gt;
|| This tutorial is recorded on&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:44&lt;br /&gt;
||'''Ubuntu Linux Operating System 16.04''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:49&lt;br /&gt;
&lt;br /&gt;
||'''R '''version''' 3.2.3 '''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:52&lt;br /&gt;
||'''RStudio''' version''' 1.1.456'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:58&lt;br /&gt;
||Install '''R''' version '''3.2.0''' or higher.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:04&lt;br /&gt;
||Let us switch to '''Rstudio'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:08&lt;br /&gt;
||The window in the top left corner is the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:14&lt;br /&gt;
||It is used to edit a '''script''' and run it.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:17&lt;br /&gt;
||The window in the bottom left corner is the '''Console''' window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:23&lt;br /&gt;
||It is used to install '''packages''' or to run a particular '''command'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:28&lt;br /&gt;
||The upper right window is the '''Workspace''' window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:32&lt;br /&gt;
||It stores all the '''variables''' used during execution of '''commands''' under the '''Environment''' tab.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:40&lt;br /&gt;
||Place your cursor on the inside edges of all the windows. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:46&lt;br /&gt;
||A four-headed arrow symbol appears. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:50&lt;br /&gt;
||You can drag this to resize your windows for better visibility. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:56&lt;br /&gt;
||Let us declare some '''variables'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:59&lt;br /&gt;
||In the '''Console''', type '''testSample (capital S) '''space '''less than''' symbol followed by '''hyphen '''space '''c. '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:11&lt;br /&gt;
||Now, in '''parentheses''', type 1 comma 2 comma 3 comma 4. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:18&lt;br /&gt;
||Press '''Enter''' to execute this line. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:21&lt;br /&gt;
||You can see the '''variable testSample''' in the '''Environment '''window.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:28&lt;br /&gt;
||The lower right window is the '''Plots '''and''' Files''' window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:33&lt;br /&gt;
||The '''Files''' tab is used to keep track of '''Working Directories'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:38&lt;br /&gt;
||We will learn more about '''Working Directory''' later in this series. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:43&lt;br /&gt;
||The''' Plots''' tab shows all the '''graphical output'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:46&lt;br /&gt;
||Let us plot the '''variable testSample'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:50 &lt;br /&gt;
||In the '''Console''', type '''plot testSample capital S in parentheses. '''Press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:59&lt;br /&gt;
||You can now see the plot in the '''Plots '''window.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:04&lt;br /&gt;
||Let us look at the '''Environment '''window in the upper right corner. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:09&lt;br /&gt;
||We will clear this '''variable''' in this window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:12&lt;br /&gt;
||At the top of the '''Environment''' window, click on the broom icon. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:18&lt;br /&gt;
||A '''Confirm Remove Objects''' window appears. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:22&lt;br /&gt;
||Ensure that the box '''Include hidden objects''' is checked and click on '''Yes'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:30&lt;br /&gt;
||Now, there is no '''variable '''in the '''Environment'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:33&lt;br /&gt;
||Click in the '''Plots '''window and click on the broom icon. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:39&lt;br /&gt;
||A '''Clear Plots''' text box appears.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:44&lt;br /&gt;
||The text reads, '''“Are you sure you want to clear all of the plots in the history?”'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:50&lt;br /&gt;
||Click '''Yes'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:52&lt;br /&gt;
||Now, let us try plotting this '''variable''' again. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:56&lt;br /&gt;
||In the '''Console''', again type '''plot testSample '''in '''parentheses''' as before.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:04&lt;br /&gt;
||Press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:06&lt;br /&gt;
||No plot is generated. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:08&lt;br /&gt;
||Instead, we see: &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:10&lt;br /&gt;
||'''Error in plot(testSample) : object 'testSample' not found'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:16&lt;br /&gt;
||It means that the '''variable testSample '''has been removed from our '''Workspace. '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:22&lt;br /&gt;
||So, you should be careful with this broom icon in the '''Environment '''window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:27&lt;br /&gt;
||Next to '''Environment''', the '''History''' tab stores all our actions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:34&lt;br /&gt;
||Here, we can see the lines that have been executed so far. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:40&lt;br /&gt;
||Let us declare two '''variables, firstVar''' and '''secondVar''', which will be used later. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:47&lt;br /&gt;
||In the '''Console''', type '''first capital V a r '''space '''less than''' symbol followed by '''hyphen '''space 6. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:00&lt;br /&gt;
||Press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:02&lt;br /&gt;
||Next, type '''second capital V a r '''space '''less than''' symbol followed by '''hyphen '''space 8.  Press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:14&lt;br /&gt;
||Our '''Console '''window is filled with the previous '''commands'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:18&lt;br /&gt;
||We need to clean the '''Console''' before moving on. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:23&lt;br /&gt;
||Click in the '''Console''' window and press '''Ctrl+L''' together. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:28&lt;br /&gt;
||Clicking on the broom icon in the upper right corner of the '''Console''' will also clear it.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:35&lt;br /&gt;
||To see this icon, place the cursor under the '''maximizer''' button of the '''Console '''window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:42&lt;br /&gt;
||You will see a hand symbol and the text, '''Clear Console Ctrl+L'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:48&lt;br /&gt;
||Packages in R &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:50&lt;br /&gt;
||'''R packages''' are a collection of''' R functions, compiled code '''and sample data. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:57&lt;br /&gt;
||Stored under a '''directory''' called '''library '''in the '''R environment'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:01&lt;br /&gt;
||By default, '''R''' installs a set of '''packages'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:07&lt;br /&gt;
||Let us switch back to '''RStudio. '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:10 &lt;br /&gt;
||Now click on the '''Environment''' tab again. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:14&lt;br /&gt;
||To see the list of '''R packages''' installed in your system, in the '''Console''', type '''library parentheses'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:22&lt;br /&gt;
||Press '''Enter'''. &lt;br /&gt;
|-&lt;br /&gt;
|| 06:24&lt;br /&gt;
||A tab named '''R packages available '''opens up in '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:30&lt;br /&gt;
||Let us install a new '''package''' named '''MASS'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:34&lt;br /&gt;
||Please make sure that you are connected to the '''Internet'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:39&lt;br /&gt;
||In the '''Console '''window, type '''install dot packages'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:44&lt;br /&gt;
||Now''', MASS '''inside double quotes in parentheses.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:50&lt;br /&gt;
||Press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:54&lt;br /&gt;
||We will need to wait until '''R''' installs the '''package'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:59&lt;br /&gt;
||There is another way to install a '''package'''. Let us install another '''package''' named '''ggplot2'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:07 &lt;br /&gt;
||In the top menu bar of '''RStudio, '''click on the '''Tools''' button. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:16&lt;br /&gt;
||From the drop-down menu, select the '''Install Packages''' option. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:21&lt;br /&gt;
|| In the '''Packages''' field, type the name of the '''package ggplot2'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:28&lt;br /&gt;
||Ensure that '''Install dependencies''' box is checked and click on the '''Install''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:37&lt;br /&gt;
||To load a '''package''', we use '''library function '''and provide the '''package''' name as an '''argument'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:46&lt;br /&gt;
||We will load the''' MASS package''' now. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:49&lt;br /&gt;
||In the '''Console '''window, type '''library MASS''' in '''parentheses '''and press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:57&lt;br /&gt;
|| Now we will use '''fractions function''' available in the '''MASS package'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:04 &lt;br /&gt;
||In the '''Console '''window, type '''f r a c t'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:10&lt;br /&gt;
||'''RStudio''' shows the '''fractions''' option. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:14&lt;br /&gt;
||Press '''Enter''' to select it. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:17&lt;br /&gt;
||You can use this feature while typing '''commands'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:21&lt;br /&gt;
||Only remember that '''R''' is case-sensitive. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:24&lt;br /&gt;
||After '''fractions''', type, in '''parentheses, firstVar''' division slash '''secondVar'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:34&lt;br /&gt;
||Press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:36&lt;br /&gt;
||You can see the reduced '''fraction ¾''' in the '''Console. '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:41&lt;br /&gt;
||In the '''Console''', we can also type '''firstVar division slash secondVar'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:48&lt;br /&gt;
||It gives the result in decimal form.&lt;br /&gt;
|-&lt;br /&gt;
|| 08:52&lt;br /&gt;
||This brings us to the end of this tutorial. Let us summarize.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:58 &lt;br /&gt;
||We have learnt about, '''Source '''and '''Console '''windows. '''Source '''and '''Console '''windows&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|| 09:02&lt;br /&gt;
||'''Workspace; Plots '''and '''Files '''window &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:04&lt;br /&gt;
||How to install '''packages''' of '''R''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:08&lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:12&lt;br /&gt;
||Please download and watch it.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:16&lt;br /&gt;
||We conduct workshops using Spoken Tutorials and give certificates.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:22&lt;br /&gt;
||Please contact us.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:24&lt;br /&gt;
||Do you have questions in THIS  '''Spoken Tutorial?''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:27&lt;br /&gt;
||Choose the minute and second where you have the question.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:31&lt;br /&gt;
||Explain your question briefly.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:33&lt;br /&gt;
||Someone from the '''FOSSEE''' team will answer them.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:35&lt;br /&gt;
||Please visit this site.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:38&lt;br /&gt;
||Do you have any general / technical questions?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:41&lt;br /&gt;
||Please visit the forum given in the link. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:45&lt;br /&gt;
||The '''FOSSEE ''' team coordinates coding of solved examples of popular books.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:52&lt;br /&gt;
||We give honorarium and certificates for those who do this. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:57&lt;br /&gt;
||For more details, please visit these sites. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:01&lt;br /&gt;
||The Spoken Tutorial project is funded by  MHRD, Govt. of India&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:07&lt;br /&gt;
||This script has been contributed by Shaik (FOSSEE Fellow 2018) and Sudhakar from FOSSEE project. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:15&lt;br /&gt;
||This is Vidhya Iyer from IIT Bombay signing off. Thanks for watching. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Sakinashaikh</name></author>	</entry>

	</feed>