{"id":201,"date":"2017-06-13T06:54:08","date_gmt":"2017-06-13T06:54:08","guid":{"rendered":"http:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/?p=201"},"modified":"2022-04-13T15:08:21","modified_gmt":"2022-04-13T15:08:21","slug":"teaching-r-in-namibia-day-one","status":"publish","type":"post","link":"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/teaching-r-in-namibia-day-one\/","title":{"rendered":"Teaching R in Namibia &#8211; Day One"},"content":{"rendered":"<p><a href=\"http:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Namibia_crop.jpg\" rel=\"attachment wp-att-204\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-204\" src=\"http:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Namibia_crop-300x125.jpg\" alt=\"Namibia_crop\" width=\"300\" height=\"125\" srcset=\"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Namibia_crop-300x125.jpg 300w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Namibia_crop-768x321.jpg 768w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Namibia_crop-1024x427.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>As the sun rises in the bright blue sky, I can hear different birds, dogs barking and light traffic. The trees, cacti and the flowers brighten the generally brown landscape. I&#8217;m reflecting on yesterday&#8217;s teaching and the plans for today.<\/p>\n<p><a href=\"http:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.35.02.png\" rel=\"attachment wp-att-205\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-205 size-thumbnail\" src=\"http:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.35.02-150x150.png\" alt=\"Screenshot 2017-06-13 07.35.02\" width=\"150\" height=\"150\" srcset=\"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.35.02-150x150.png 150w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.35.02-300x300.png 300w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.35.02-768x765.png 768w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.35.02-1024x1020.png 1024w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.35.02-100x100.png 100w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.35.02-40x40.png 40w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.35.02-200x200.png 200w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.35.02.png 1084w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n<p>I&#8217;ve come a long way to <a href=\"http:\/\/rforbiochemists.blogspot.co.uk\/2015\/04\/why-as-biochemist-i-use-r.html\">teach R<\/a>, an open source <a href=\"https:\/\/www.r-project.org\/\">statistical programming language<\/a>\u00a0at <a href=\"http:\/\/www.unam.edu.na\/\">University of Namibia<\/a>.\u00a0On Saturday, I flew over\u00a05,700 miles south to South Africa and then back about 700 miles to Windhoek, the capital city in Namibia. It took twenty four hours &#8211; but Mark, <a href=\"https:\/\/www.cardiff.ac.uk\/people\/view\/362454-gillespie-david\">Dr David Gillespie<\/a> and I finally arrived.\u00a0I was invited by <a href=\"https:\/\/significantlystatistical.wordpress.com\/2017\/06\/03\/phoenix-revisited\/\">Dr Mark Kelson<\/a> to help with a\u00a0<a href=\"http:\/\/www.cardiff.ac.uk\/phoenix-project\">Phoenix Project<\/a> event &#8211; a three day R course.<\/p>\n<p>Teaching software often presents a challenge with\u00a0varied levels of expertise in the room. As I&#8217;ve experienced on other R training, we had one third complete newcomers, one third intermediate users and one third experienced\u00a0users. Preparing and delivering material to a diverse audience can be difficult. However, what I observed yesterday was the learners helping each other. The room buzzed with discussion. I saw people use new skills, share advice and hopefully, the start of a UNAM R community.<\/p>\n<p>One of the reasons, I teach is that I always learn new things:<\/p>\n<ul>\n<li>I learn things from participants and other teachers<\/li>\n<li>I hone skills while preparing materials<\/li>\n<li>My mind is stretched by interesting questions<\/li>\n<\/ul>\n<p>Yesterday, was no different. As a small example, I learned a new function\u00a0<a href=\"https:\/\/stat.ethz.ch\/R-manual\/R-devel\/library\/base\/html\/file.choose.html\">file.choose()<\/a> which allows the user to find their file on their computer system.<\/p>\n<p class=\"alignnone\"><a href=\"http:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.28.36.png\" rel=\"attachment wp-att-203\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-203 size-thumbnail\" src=\"http:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.28.36-150x150.png\" alt=\"Screenshot 2017-06-13 07.28.36\" width=\"150\" height=\"150\" srcset=\"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.28.36-150x150.png 150w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.28.36-300x300.png 300w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.28.36-768x770.png 768w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.28.36-100x100.png 100w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.28.36-40x40.png 40w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.28.36-200x200.png 200w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.28.36.png 836w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n<p class=\"alignnone\">We prepared our materials using <a href=\"https:\/\/github.com\/\">Github, a public version control system<\/a>. Github allows us to collaborate, to share materials and to map contributions. It a <a href=\"https:\/\/swcarpentry.github.io\/good-enough-practices-in-scientific-computing\/\">&#8220;good\u00a0enough&#8221; computer programming practice<\/a> and we&#8217;ve honed our skills in using Github &#8211; raising pull requests. For the current version of our teaching materials &#8211; <a href=\"https:\/\/github.com\/MarkKelson\/learnR\">go there<\/a>. Easy to fork, download, share and use.<\/p>\n<p>Then, my skills were stretched as I tried to find out how to download and share packages without all the computers had access to the internet.<\/p>\n<p><a href=\"http:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.26.33.png\" rel=\"attachment wp-att-202\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-202 size-thumbnail\" src=\"http:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.26.33-150x150.png\" alt=\"Screenshot 2017-06-13 07.26.33\" width=\"150\" height=\"150\" srcset=\"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.26.33-150x150.png 150w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.26.33-100x100.png 100w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.26.33-40x40.png 40w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.26.33-200x200.png 200w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n<p>So, all in all an interesting first day teaching\u00a0in a bright and\u00a0beautiful country on the other side of the world. Today, I&#8217;m talking about ggplot2,\u00a0the graphing package I like. \u00a0It operates as part of the <a href=\"http:\/\/tidyverse.org\/\">tidyverse<\/a> &#8211; a <a href=\"https:\/\/blog.rstudio.org\/2016\/09\/15\/tidyverse-1-0-0\/\">suite of R packages<\/a> designed to work together for <a href=\"http:\/\/r4ds.had.co.nz\/\">data science<\/a>. Should be interesting&#8230;.<\/p>\n<p>For more about my R materials, go to my other blog: <a href=\"http:\/\/rforbiochemists.blogspot.co.uk\/\">R for Biochemists<\/a>. Recently, I&#8217;ve been making maps of Namibia as I try to learn more about this country.<\/p>\n<p><a href=\"http:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.50.36.png\" rel=\"attachment wp-att-209\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-209\" src=\"http:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.50.36-300x241.png\" alt=\"Screenshot 2017-06-13 07.50.36\" width=\"300\" height=\"241\" srcset=\"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.50.36-300x241.png 300w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.50.36-768x617.png 768w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.50.36-1024x822.png 1024w, https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-content\/uploads\/sites\/256\/2017\/06\/Screenshot-2017-06-13-07.50.36.png 1402w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"As the sun rises in the bright blue sky, I can hear different birds, dogs barking and light traffic. The trees, cacti and the flowers brighten the generally brown landscape. [&hellip;]","protected":false},"author":80,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[14,9,6],"tags":[],"class_list":["post-201","post","type-post","status-publish","format-standard","hentry","category-r","category-self-development","category-teaching"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4tWbY-3f","jetpack_sharing_enabled":true,"meta_box":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-json\/wp\/v2\/posts\/201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-json\/wp\/v2\/users\/80"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-json\/wp\/v2\/comments?post=201"}],"version-history":[{"count":5,"href":"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-json\/wp\/v2\/posts\/201\/revisions"}],"predecessor-version":[{"id":212,"href":"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-json\/wp\/v2\/posts\/201\/revisions\/212"}],"wp:attachment":[{"href":"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-json\/wp\/v2\/media?parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-json\/wp\/v2\/categories?post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.cardiff.ac.uk\/brennanpincardiff\/wp-json\/wp\/v2\/tags?post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}