<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/15-page-tutorial-for-r/"></div></div><div><a data-url="https://www.r-bloggers.com/15-page-tutorial-for-r/" data-counturl="https://www.r-bloggers.com/15-page-tutorial-for-r/" data-count="horizontal" data-text="15 Page Tutorial for R" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://www.studytrails.com/blog/15-page-tutorial-for-r/"> R – StudyTrails</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>For Beginners in R, here is a 15 page example based tutorial that covers the basics of R.</p>
<ol>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/StartingR.jsp">Starting R</a> – Trivial tutorial on how to start R for those just wondering what to do next after downloading R.</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/AssignmentOperator.jsp">Assignement Operator</a> – Two important assignment operators in R are &lt;- and =</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/ListingObjects.jsp">Listing Objects</a> – All entities in R are called objects. They can be arrays, numbers, strings, functions. This tutorial will cover topics such as listing all objects, listing object from a specific environment and listing objects that satisfy a particular pattern.</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/R_Command_From_A_Source_File.jsp">Sourcing R File</a> – R code can also be written in a file and then the file can be called from the R code.</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/DataStructures_In_R.jsp">Basic Datastructures in R</a> – Understanding data structures is probably the most important part of learning R. This tutorial covers vector and list. It also covers subsetting.</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/DataStructures_In_R_Matrix_vector.jsp">Data Structures in R, Matrix and Array</a> – Covers matrix and vectors. An array is a vector with additional attributes dim which stores the dimension of the array and dimnames which stores the names of the dimensions. A matrix is an 2 dimensional array. Head to the tutorial for examples of both.</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/DataStructures_In_R_factors_data_frames.jsp">Data Structures in R, factors and Data Frame</a> – DataFrames are probably the most widely used data structure. It would help to just go through the examples and practice them. The tutorial covers important operations on the data frame and factors as well as subsetting data frames.</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/DataStructures_In_R_Data_Frames_2_Operations.jsp">Data Structures in R, Data Frame Operations</a> – Covers some more operations on the data frame; including stack, attach, with, within, transform, subset, reshape and merge</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/Control_Structures_R_Basics.jsp">Control Structures in R</a> – The basics of any programming language. Control loops allow looping through data structures. The tutorial covers if, if-else, for, while, next, break, repeat and switch</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/Control_Structures_R_apply_functions.jsp">Control Structures in R – apply</a> – To make looping more efficient R has introduced a family of ‘apply’ functions. For example – the apply function can be used apply a function over specific elements of an array (or matrix). The tutorial covers lapply, sapply, apply, tapply.</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/Control_Structures_R_apply_functions_2.jsp">Control Structures in R – apply 2</a> – We continue with some more apply functions – mapply and by.</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/R_Functions.jsp">Functions in R</a> – The nuts and bolts of any programming language. This tutorial not only explains the concept of functions using examples but also covers various scenarios such as anonymous functions or passing functions around.</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/R_Console_Printing.jsp">Printing on Console in R</a> – Printing on console can come very handy. The tutorial covers the print and cat functions as well as printing data frames.</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/R_Print_Format.jsp">Pretty printing using Format function in R</a> – This tutorial looks at how to use the formatting functions for pretty printing.</li>
<li><a target="_blank" href="http://www.studytrails.com/R/Core/R_reshape_cast_melt.jsp">Reshape and Reshape2 Package</a> – Once you start working on real life problems in R, a lot of time would be spent on manipulating data. Reshape and Reshape2 package will prove very powerful in converting data to the format required by other libraries. This tutorial has detailed examples to explain the package.</li>
</ol>
<p>These tutorials are designed for beginners in R, but they can also be used by experienced programmers as a refresher course or as reference. Running loops in R can be slow and therefore the apply group of functions as well as the reshape package can drastically improve the performance of the code.</p>
<p>We hope you enjoy the tutorials.</p>
<p><div><div><div><div data-width="55" data-show-faces="false" data-send="true" data-layout="box_count" data-height="62" data-href="https://www.r-bloggers.com/15-page-tutorial-for-r/"></div></div><div><a data-url="https://www.r-bloggers.com/15-page-tutorial-for-r/" data-counturl="https://www.r-bloggers.com/15-page-tutorial-for-r/" data-count="vertical" data-text="15 Page Tutorial for R" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://www.studytrails.com/blog/15-page-tutorial-for-r/"> R – StudyTrails</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/?s=Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/RtXOEXxE-Zk"></a></div>