{"id":3166,"date":"2017-06-19T17:15:21","date_gmt":"2017-06-19T17:15:21","guid":{"rendered":"https:\/\/blogs.swarthmore.edu\/its\/?p=3166"},"modified":"2017-06-19T17:54:31","modified_gmt":"2017-06-19T17:54:31","slug":"r-r-studio-and-datacamp","status":"publish","type":"post","link":"https:\/\/blogs.swarthmore.edu\/its\/2017\/06\/19\/r-r-studio-and-datacamp\/","title":{"rendered":"R, R Studio and DataCamp"},"content":{"rendered":"<h1><strong>Learning Together<\/strong><\/h1>\n<p><span style=\"font-weight: 400;\">On June 6th &amp; 7th\u00a0group of ten faculty, five staff and five student research assistants all participated together in a two-day workshop on \u201c<strong>R<\/strong>.\u201d \u00a0<strong>R<\/strong> is an open source integrated suite of software facilities for data manipulation, calculation and graphical display that is fast becoming the data analysis toolkit of choice across a number of disciplines, and has become the foundational data analysis software taught here at Swarthmore in introductory statistics classes. We had a lot of fun in a collegial environment in which Visiting Assistant Professor Lu Chen took us in a very organized way through the basics of the <strong>R<\/strong> environment using both the desktop and online versions of <strong>R Studio<\/strong>, which is an excellent but not necessary way to work with <strong>R<\/strong>. <\/span><\/p>\n<h1><strong><a href=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/RStudio-Logo-Blue-Gray-125.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-3173 size-full\" src=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/RStudio-Logo-Blue-Gray-125.png\" alt=\"R Studio Logo\" width=\"125\" height=\"44\" \/><\/a>R Studio <\/strong><\/h1>\n<figure id=\"attachment_4107\" aria-describedby=\"caption-attachment-4107\" style=\"width: 300px\" class=\"wp-caption alignright\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4107 size-medium\" src=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/rstudio-workbench-300x250.png\" alt=\"R Studio Workbench\" width=\"300\" height=\"250\" srcset=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/rstudio-workbench-300x250.png 300w, https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/rstudio-workbench-768x639.png 768w, https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/rstudio-workbench-72x60.png 72w, https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/rstudio-workbench.png 947w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-4107\" class=\"wp-caption-text\">R Studio Workbench<\/figcaption><\/figure>\n<p><span style=\"font-weight: 400;\">RStudio provides a graphical interface, with a very flexible windowing system to manage your work in <strong>R<\/strong>, preserve code, data files and output. You can use <strong>R<\/strong> simply at the command line, and many of our most experienced <strong>R<\/strong> users will take that approach. Since Swarthmore has a license for <strong>R Studio Server<\/strong>, run on an Amazon Web Services instance, it\u2019s a great way to make sure your students are all on the same version and have access to the same tools for teaching data analysis using <strong>R<\/strong>, and it\u2019s a very consistent interface with the desktop version, which can be installed locally on your machine. Using the <strong>R Studio Server<\/strong> allows you to provide students with both a consistent version as well as the ability to provide them all with the same files and data sources. (<\/span><a href=\"http:\/\/rstudio.swarthmore.edu\"><span style=\"font-weight: 400;\">http:\/\/rstudio.swarthmore.edu<\/span><\/a><span style=\"font-weight: 400;\"> is the address, but please talk to one of your friendly Academic Technologists to get set up with an account, if you\u2019d like to check it out!)<\/span><\/p>\n<figure id=\"attachment_3170\" aria-describedby=\"caption-attachment-3170\" style=\"width: 511px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/GOoiE.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3170\" src=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/GOoiE-300x175.png\" alt=\"R Studio graph example (Rena Chen, Nov 2, 2015)\" width=\"511\" height=\"298\" \/><\/a><figcaption id=\"caption-attachment-3170\" class=\"wp-caption-text\">R Studio graph example (Rena Chen, Nov 2, 2015) https:\/\/rstudio-pubs-static.s3.amazonaws.com\/123139_f3559c860bf74fd0bd13b5396ce8bcf0.html#\/<\/figcaption><\/figure>\n<p><span style=\"font-weight: 400;\">On the second day of the workshop, we really\u00a0got into more advanced data recoding, dealing with missing values and using the <strong>ggplot<\/strong> package to create very good looking graphic displays of information, which is a real strength in\u00a0<strong>R<\/strong>, and is something that has brought over a significant number of folks who might not otherwise have been interested.\u00a0\u00a0<\/span><\/p>\n<figure id=\"attachment_3171\" aria-describedby=\"caption-attachment-3171\" style=\"width: 507px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/rplot012.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3171\" src=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/rplot012-300x257.jpeg\" alt=\"R Studio map of data example\" width=\"507\" height=\"434\" \/><\/a><figcaption id=\"caption-attachment-3171\" class=\"wp-caption-text\">R Studio map of data example (https:\/\/nrelscience.org\/2013\/05\/30\/this-is-how-i-did-it-mapping-in-r-with-ggplot2\/)<\/figcaption><\/figure>\n<h1><strong>DataCamp<a href=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/DataCampLogo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-3169\" src=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/DataCampLogo-300x94.png\" alt=\"DataCamp logo\" width=\"147\" height=\"46\" \/><\/a><\/strong><\/h1>\n<p><span style=\"font-weight: 400;\">We\u2019re also pleased to announce that we\u2019ve acquired a number of seats for <strong>DataCamp<\/strong> (http:\/\/www.datacamp.com), which is an online learning platform for folks who\u2019d like to get better with Data Science and Analysis using <strong>R<\/strong> and Python. The <strong>DataCamp<\/strong> material is primarily for <strong>R<\/strong> and Python development, and their courses are presented in a very coherent, clean, easily accessible environment that can help individuals develop their skills from the comfort of their own browser! \u00a0Please contact Doug Willen (<\/span><a href=\"mailto:willen@swarthmore.edu\"><span style=\"font-weight: 400;\">willen@swarthmore.edu<\/span><\/a><span style=\"font-weight: 400;\">, x-7787) for more information on <strong>DataCamp<\/strong>, or to get started with a course.<\/span><\/p>\n<h1>What is \u201cR\u201d ?<\/h1>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/R-Logo.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-3168\" src=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/R-Logo.jpg\" alt=\"R Logo\" width=\"116\" height=\"102\" srcset=\"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/R-Logo.jpg 164w, https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/R-Logo-68x60.jpg 68w\" sizes=\"auto, (max-width: 116px) 100vw, 116px\" \/><\/a>(From the R Foundation \u00a0<\/span><a href=\"https:\/\/www.r-project.org\/about.html\"><span style=\"font-weight: 400;\">https:\/\/www.r-project.org\/about.html<\/span><\/a><span style=\"font-weight: 400;\">):<\/span><\/p>\n<blockquote><p><span style=\"font-weight: 400;\">R is an integrated suite of software facilities for data manipulation, calculation and graphical display. It includes:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">an effective data handling and storage facility,<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">a suite of operators for calculations on arrays, in particular matrices,<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">a large, coherent, integrated collection of intermediate tools for data analysis,<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">graphical facilities for data analysis and display either on-screen or on hardcopy, and<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">a well-developed, simple and effective programming language which includes conditionals, loops, user-defined recursive functions and input and output facilities.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">R is a language and environment for statistical computing and graphics. It is a <\/span><a href=\"http:\/\/www.gnu.org\/\"><span style=\"font-weight: 400;\">GNU project<\/span><\/a><span style=\"font-weight: 400;\"> which is similar to the S language and environment which was developed at Bell Laboratories (formerly AT&amp;T, now Lucent Technologies) by John Chambers and colleagues. R can be considered as a different implementation of S. There are some important differences, but much code written for S runs unaltered under R.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, \u2026) and graphical techniques, and is highly extensible. The S language is often the vehicle of choice for research in statistical methodology, and R provides an Open Source route to participation in that activity.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">One of R\u2019s strengths is the ease with which well-designed publication-quality plots can be produced, including mathematical symbols and formulae where needed. Great care has been taken over the defaults for the minor design choices in graphics, but the user retains full control.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">R is available as Free Software under the terms of the <\/span><a href=\"http:\/\/www.gnu.org\/\"><span style=\"font-weight: 400;\">Free Software Foundation<\/span><\/a><span style=\"font-weight: 400;\">\u2019s <\/span><a href=\"https:\/\/www.r-project.org\/COPYING\"><span style=\"font-weight: 400;\">GNU General Public License<\/span><\/a><span style=\"font-weight: 400;\"> in source code form. It compiles and runs on a wide variety of UNIX platforms and similar systems (including FreeBSD and Linux), Windows and MacOS.<\/span><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Learning Together On June 6th &amp; 7th\u00a0group of ten faculty, five staff and five student research assistants all participated together in a two-day workshop on \u201cR.\u201d \u00a0R is an open source integrated suite of software facilities for data manipulation, calculation &hellip; <a href=\"https:\/\/blogs.swarthmore.edu\/its\/2017\/06\/19\/r-r-studio-and-datacamp\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">R, R Studio and DataCamp<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":4086,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2,124,125],"tags":[90],"class_list":{"0":"post-3166","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-academic-technology","8":"category-learning","9":"category-open-source","10":"tag-featured","12":"fallback-thumbnail"},"jetpack_featured_media_url":"https:\/\/blogs.swarthmore.edu\/its\/wp-content\/uploads\/2017\/06\/R_logo-1.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/ph2nPL-P4","_links":{"self":[{"href":"https:\/\/blogs.swarthmore.edu\/its\/wp-json\/wp\/v2\/posts\/3166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.swarthmore.edu\/its\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.swarthmore.edu\/its\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.swarthmore.edu\/its\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.swarthmore.edu\/its\/wp-json\/wp\/v2\/comments?post=3166"}],"version-history":[{"count":11,"href":"https:\/\/blogs.swarthmore.edu\/its\/wp-json\/wp\/v2\/posts\/3166\/revisions"}],"predecessor-version":[{"id":4109,"href":"https:\/\/blogs.swarthmore.edu\/its\/wp-json\/wp\/v2\/posts\/3166\/revisions\/4109"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.swarthmore.edu\/its\/wp-json\/wp\/v2\/media\/4086"}],"wp:attachment":[{"href":"https:\/\/blogs.swarthmore.edu\/its\/wp-json\/wp\/v2\/media?parent=3166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.swarthmore.edu\/its\/wp-json\/wp\/v2\/categories?post=3166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.swarthmore.edu\/its\/wp-json\/wp\/v2\/tags?post=3166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}