{"id":1993,"date":"2018-02-21T09:39:46","date_gmt":"2018-02-21T04:09:46","guid":{"rendered":"http:\/\/stepbystepschools.net\/?p=1993"},"modified":"2018-02-21T09:40:18","modified_gmt":"2018-02-21T04:10:18","slug":"data-science-training-in-mumbai-running-first-r-programme","status":"publish","type":"post","link":"https:\/\/www.stepbystepschools.net\/?p=1993","title":{"rendered":"Data Science Training in Mumbai :- Running first R Programme."},"content":{"rendered":"<h2>Contents:<\/h2>\n<p><a href=\"#What_is_R\">What is R?<\/a><\/p>\n<p><a href=\"#Creating_and_Running_your_first_R_Programme\">Creating and Running your first R Programme<\/a><\/p>\n<p><a href=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2018\/02\/1-3.jpg\" rel=\"attachment wp-att-1994\"><img loading=\"lazy\" src=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2018\/02\/1-3.jpg\" alt=\"1\" width=\"602\" height=\"260\" class=\"aligncenter size-full wp-image-1994\" srcset=\"https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2018\/02\/1-3.jpg 602w, https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2018\/02\/1-3-300x130.jpg 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/a><\/p>\n<h2><a name=\"What_is_R\">What is R?<\/a><\/h2>\n<p>R is a programming language along with a free software specially developed for statistical computing and graphics.<\/p>\n<p>It is licensed under a GNU project.<\/p>\n<p>R is based on S programming Language which is combined with lexical scoping semantics which was created by John Chambers in 1976 at Bell Labs (formerly AT&#038;T, now Lucent Technologies).<\/p>\n<p>R has libraries to implement a wide variety of statistical and graphical techniques, including linear and nonlinear modelling, clustering, time-series analysis, classification, classical statistical tests etc.<\/p>\n<p>R is an Interpreted language if the user passes input in the command line window the output will be generated by the computer.<\/p>\n<p>The functionalities of R can be accessed from several scripting languages such as Python, Perl, Ruby F# and Julia.<\/p>\n<p>R programming tool provides users with the following major functionalities in a single tool:<\/p>\n<ol type=\"1\">\n<li>Data Manipulation: R allows the users to shape present dataset into a format that can be easily accessed and analysed by slicing large multivariate datasets. In recent times R is one of the very few tools that provides users with great indexing techniques.<\/li>\n<li>Data Analysis: Any kind of statistical data analysis could be found in R. R is an open source development tool that is supported by a large community of statisticians and scientists. R has over 4000 packages that implements various statistical analysis tools that are related to model fitting, hypothesis testing, and machine learning along clustering techniques.<\/li>\n<li>Data Visualization: R contains many shelf graph functions which can be readily be used.  R gives the developer capabilities to implement any visualization idea for any dataset. We can easily implement animated and interactive graphs in R.<\/li>\n<\/ol>\n<h2><a name=\"Creating_and_Running_your_first_R_Programme\">Creating and Running your first R Programme<\/a><\/h2>\n<p>But before we get into creating a program let\u2019s just first set up a proper environment for R programming.<\/p>\n<p>To install R programming tool go to the following link and download the software and install it.<\/p>\n<p><b>For Windows Users:<\/b><\/p>\n<p><a target=\"_blank\" href=\"https:\/\/ftp.iitm.ac.in\/cran\/\">https:\/\/ftp.iitm.ac.in\/cran\/<\/a><\/p>\n<p><a href=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2018\/02\/2-3.jpg\" rel=\"attachment wp-att-1995\"><img loading=\"lazy\" src=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2018\/02\/2-3.jpg\" alt=\"2\" width=\"602\" height=\"118\" class=\"alignleft size-full wp-image-1995\" srcset=\"https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2018\/02\/2-3.jpg 602w, https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2018\/02\/2-3-300x59.jpg 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/a><\/p>\n<p><b>For Linux Users:<\/b><\/p>\n<p>If you are on Linux platform then you can use this fast and easy command used in Linux which can be used to install R. The yum command is used for installing like this:<\/p>\n<p><span style=\"background-color: #C0C0C0\">$ yum install R<\/span><\/p>\n<p>For Ubuntu Linux or other Debian-related OSs, a more direct method is:<\/p>\n<p><span style=\"background-color: #C0C0C0\">$ apt-get install r-base<\/span><\/p>\n<p>Now Let\u2019s Start using the RGui (64 -bit) which will be installed in the Installation folder which we had selected while installing the software.<\/p>\n<p>We will write the following simple loop.<\/p>\n<p><span style=\"background-color: #C0C0C0\">i = 0<br \/>\n<\/span><span style=\"background-color: #C0C0C0\">repeat{if (i > 25) break else {print(i); i = i + 5;}}<br \/>\n<\/span>\n<\/p>\n<p>This code will repeat the loop till the value is less than 25 and incremental value is 5<\/p>\n<p><span style=\"background-color: #C0C0C0\">i <- 5<br \/>\nwhile (i <= 25) {print(i); i <- i + 5}<\/span><\/p>\n<p>This code will repeat the loop till the value of I is less than or equal to 25 also the value of i has been set to 5 initially and is being incremented by 5.<\/p>\n<p><span style=\"background-color: #C0C0C0\">for (i in seq(from=5, to=25, by=5)) print(i)<\/span><\/p>\n<p>This is another way to iterate a value where from indicates initial value, to indicates end condition and by indicates incremental value.<\/p>\n<p>The Output generated can be seen below<\/p>\n<p><a href=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2018\/02\/3-3.jpg\" rel=\"attachment wp-att-1996\"><img loading=\"lazy\" src=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2018\/02\/3-3.jpg\" alt=\"3\" width=\"596\" height=\"330\" class=\"aligncenter size-full wp-image-1996\" srcset=\"https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2018\/02\/3-3.jpg 596w, https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2018\/02\/3-3-300x166.jpg 300w\" sizes=\"(max-width: 596px) 100vw, 596px\" \/><\/a><\/p>\n<p><a target=\"_blank\" href=\"http:\/\/stepbystepschools.net\/?page_id=1842\">Syllabus of Data Science training in Mumbai<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contents: What is R? Creating and Running your first R Programme What is R? R is a programming language along with a free software specially developed for statistical computing and graphics. It is licensed under a GNU project. R is &hellip; <a href=\"https:\/\/www.stepbystepschools.net\/?p=1993\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[1],"tags":[198,199,202],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Data Science Training in Mumbai :- Running first R Programme. - Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.stepbystepschools.net\/?p=1993\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Data Science Training in Mumbai :- Running first R Programme. - Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai\" \/>\n<meta property=\"og:description\" content=\"Contents: What is R? Creating and Running your first R Programme What is R? R is a programming language along with a free software specially developed for statistical computing and graphics. It is licensed under a GNU project. R is &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.stepbystepschools.net\/?p=1993\" \/>\n<meta property=\"og:site_name\" content=\"Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-21T04:09:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-02-21T04:10:18+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2018\/02\/1-3.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"StepByStepSchoolsSupport\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.stepbystepschools.net\/#website\",\"url\":\"https:\/\/www.stepbystepschools.net\/\",\"name\":\"Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai\",\"description\":\"MVC 5\/Core, AngularJS 1.x, 2.0, 4.0, Design Pattern, Architecture, SSIS, SSAS, SSRS, Data Science, Big data, Hadoop classroom training\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.stepbystepschools.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.stepbystepschools.net\/?p=1993#primaryimage\",\"url\":\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2018\/02\/1-3.jpg\",\"contentUrl\":\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2018\/02\/1-3.jpg\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.stepbystepschools.net\/?p=1993#webpage\",\"url\":\"https:\/\/www.stepbystepschools.net\/?p=1993\",\"name\":\"Data Science Training in Mumbai :- Running first R Programme. - Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai\",\"isPartOf\":{\"@id\":\"https:\/\/www.stepbystepschools.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.stepbystepschools.net\/?p=1993#primaryimage\"},\"datePublished\":\"2018-02-21T04:09:46+00:00\",\"dateModified\":\"2018-02-21T04:10:18+00:00\",\"author\":{\"@id\":\"https:\/\/www.stepbystepschools.net\/#\/schema\/person\/7131e4ee1c5673879e6029d14ec2f655\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.stepbystepschools.net\/?p=1993#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.stepbystepschools.net\/?p=1993\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.stepbystepschools.net\/?p=1993#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.stepbystepschools.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data Science Training in Mumbai :- Running first R Programme.\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.stepbystepschools.net\/#\/schema\/person\/7131e4ee1c5673879e6029d14ec2f655\",\"name\":\"StepByStepSchoolsSupport\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.stepbystepschools.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cecaf2a0ee369391127b0159c266979d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cecaf2a0ee369391127b0159c266979d?s=96&d=mm&r=g\",\"caption\":\"StepByStepSchoolsSupport\"},\"url\":\"https:\/\/www.stepbystepschools.net\/?author=40\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Data Science Training in Mumbai :- Running first R Programme. - Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.stepbystepschools.net\/?p=1993","og_locale":"en_US","og_type":"article","og_title":"Data Science Training in Mumbai :- Running first R Programme. - Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai","og_description":"Contents: What is R? Creating and Running your first R Programme What is R? R is a programming language along with a free software specially developed for statistical computing and graphics. It is licensed under a GNU project. R is &hellip; Continue reading &rarr;","og_url":"https:\/\/www.stepbystepschools.net\/?p=1993","og_site_name":"Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai","article_published_time":"2018-02-21T04:09:46+00:00","article_modified_time":"2018-02-21T04:10:18+00:00","og_image":[{"url":"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2018\/02\/1-3.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"StepByStepSchoolsSupport","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.stepbystepschools.net\/#website","url":"https:\/\/www.stepbystepschools.net\/","name":"Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai","description":"MVC 5\/Core, AngularJS 1.x, 2.0, 4.0, Design Pattern, Architecture, SSIS, SSAS, SSRS, Data Science, Big data, Hadoop classroom training","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.stepbystepschools.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.stepbystepschools.net\/?p=1993#primaryimage","url":"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2018\/02\/1-3.jpg","contentUrl":"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2018\/02\/1-3.jpg"},{"@type":"WebPage","@id":"https:\/\/www.stepbystepschools.net\/?p=1993#webpage","url":"https:\/\/www.stepbystepschools.net\/?p=1993","name":"Data Science Training in Mumbai :- Running first R Programme. - Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai","isPartOf":{"@id":"https:\/\/www.stepbystepschools.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.stepbystepschools.net\/?p=1993#primaryimage"},"datePublished":"2018-02-21T04:09:46+00:00","dateModified":"2018-02-21T04:10:18+00:00","author":{"@id":"https:\/\/www.stepbystepschools.net\/#\/schema\/person\/7131e4ee1c5673879e6029d14ec2f655"},"breadcrumb":{"@id":"https:\/\/www.stepbystepschools.net\/?p=1993#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.stepbystepschools.net\/?p=1993"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.stepbystepschools.net\/?p=1993#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.stepbystepschools.net\/"},{"@type":"ListItem","position":2,"name":"Data Science Training in Mumbai :- Running first R Programme."}]},{"@type":"Person","@id":"https:\/\/www.stepbystepschools.net\/#\/schema\/person\/7131e4ee1c5673879e6029d14ec2f655","name":"StepByStepSchoolsSupport","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.stepbystepschools.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cecaf2a0ee369391127b0159c266979d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cecaf2a0ee369391127b0159c266979d?s=96&d=mm&r=g","caption":"StepByStepSchoolsSupport"},"url":"https:\/\/www.stepbystepschools.net\/?author=40"}]}},"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=\/wp\/v2\/posts\/1993"}],"collection":[{"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1993"}],"version-history":[{"count":3,"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=\/wp\/v2\/posts\/1993\/revisions"}],"predecessor-version":[{"id":1999,"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=\/wp\/v2\/posts\/1993\/revisions\/1999"}],"wp:attachment":[{"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}