{"id":3237,"date":"2016-09-01T11:27:53","date_gmt":"2016-09-01T18:27:53","guid":{"rendered":"http:\/\/blogs.reed.edu\/ed-tech\/?p=3237"},"modified":"2025-03-27T09:19:39","modified_gmt":"2025-03-27T16:19:39","slug":"an-introduction-to-r-rstudio-and-r-markdown-with-gifs","status":"publish","type":"post","link":"https:\/\/blogs.reed.edu\/ed-tech\/2016\/09\/an-introduction-to-r-rstudio-and-r-markdown-with-gifs\/","title":{"rendered":"An introduction to R, RStudio, and R Markdown with GIFs!"},"content":{"rendered":"\n<p>The development of the <code>bookdown<\/code> package from RStudio in the summer of 2016 has facilitated greatly the ability of educators to create open-source materials for their students to use. It expands to more than just academic settings though and it encourages the sharing of resources and knowledge in a free and reproducible way.<\/p>\n\n\n\n<p>As more and more students and faculty begin to use R in their courses and their research, I wanted to create a resource for the complete beginner to programming and statistics to more easily learn how to work with R. Specifically, <a href=\"http:\/\/ismayc.github.io\/rbasics-book\">the book<\/a> includes GIF screen recordings that show the reader what specific panes do in RStudio and also the formatting of an R Markdown document and the resulting HTML file.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Folks who have used a programming language for awhile often forget about all the troubles they had when they initially got started with it. To further support this, I\u2019ll be working on updating the book (specifically Chapter 6) with examples of common R errors, what they mean, and how to remedy them.<\/p>\n\n\n\n<p>The book is entitled \u201cGetting Used to R, RStudio, and R Markdown\u201d and can be found at <a class=\"uri\" href=\"http:\/\/ismayc.github.io\/rbasics-book\">http:\/\/ismayc.github.io\/rbasics-book<\/a>. All of the source code for the book is available at <a class=\"uri\" href=\"http:\/\/ismayc.github.io\/rbasics-book\">http:\/\/github.com\/ismayc\/rbasics-book<\/a>. You can also request edits to the book by clicking on the Edit button near the top of the page. You\u2019ll also find a PDF version of the book there with links to the GIFs (since PDFs can\u2019t have embedded GIFs like webpages can).<\/p>\n\n\n\n<p>Chapter 5 of the book walks through some of the basics of R in working with a data set corresponding to the elements of the periodic table. To expand on this book and on using R in an introductory statistics setting, I\u2019ve also embarked on creating a textbook using <code>bookdown<\/code> focused on data visualization and resampling techniques to build inferential concepts. The book uses <code>dplyr<\/code> and <code>ggplot2<\/code> packages and focuses on two main data sets in the <code>nycflights13<\/code> and <code>ggplot2movies<\/code> packages. Chapters 8 and 9 are in development, but the plan is for an introduction to the <code>broom<\/code> package to also be given there. Lastly, there will be expanded Learning Checks throughout the book and Review Questions at the end of each chapter to help the reader better check their understanding of the material. This book is available at <a class=\"uri\" href=\"http:\/\/ismayc.github.io\/moderndiver-book\">http:\/\/ismayc.github.io\/moderndiver-book<\/a> with source code available <a href=\"http:\/\/github.com\/ismayc\/moderndiver-book\">here<\/a>.<\/p>\n\n\n\n<p>Feel free to <a href=\"mailto:cismay@reed.edu\">email me<\/a> or tweet to me on Twitter <code>@old_man_chester<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The development of the bookdown package from RStudio in the summer of 2016 has facilitated greatly the ability of educators to create open-source materials for their students to use. It expands to more than just academic settings though and it encourages the sharing of resources and knowledge in a free and reproducible way. As more &hellip; <a href=\"https:\/\/blogs.reed.edu\/ed-tech\/2016\/09\/an-introduction-to-r-rstudio-and-r-markdown-with-gifs\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;An introduction to R, RStudio, and R Markdown with GIFs!&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1244,"featured_media":4884,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,32,33],"tags":[],"class_list":["post-3237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-visualization","category-programming","category-quantitative-analysis"],"_links":{"self":[{"href":"https:\/\/blogs.reed.edu\/ed-tech\/wp-json\/wp\/v2\/posts\/3237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.reed.edu\/ed-tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.reed.edu\/ed-tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.reed.edu\/ed-tech\/wp-json\/wp\/v2\/users\/1244"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.reed.edu\/ed-tech\/wp-json\/wp\/v2\/comments?post=3237"}],"version-history":[{"count":6,"href":"https:\/\/blogs.reed.edu\/ed-tech\/wp-json\/wp\/v2\/posts\/3237\/revisions"}],"predecessor-version":[{"id":4885,"href":"https:\/\/blogs.reed.edu\/ed-tech\/wp-json\/wp\/v2\/posts\/3237\/revisions\/4885"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.reed.edu\/ed-tech\/wp-json\/wp\/v2\/media\/4884"}],"wp:attachment":[{"href":"https:\/\/blogs.reed.edu\/ed-tech\/wp-json\/wp\/v2\/media?parent=3237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.reed.edu\/ed-tech\/wp-json\/wp\/v2\/categories?post=3237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.reed.edu\/ed-tech\/wp-json\/wp\/v2\/tags?post=3237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}