

{"id":3482,"date":"2015-06-29T10:13:27","date_gmt":"2015-06-29T15:13:27","guid":{"rendered":"http:\/\/rud.is\/b\/?p=3482"},"modified":"2018-03-07T16:43:48","modified_gmt":"2018-03-07T21:43:48","slug":"get-by-with-a-little-r-help-from-your-friends-at-github","status":"publish","type":"post","link":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/","title":{"rendered":"Get by with a little (R) help from your friends (at GitHub)"},"content":{"rendered":"<p>@JennyBryan posted her [slides from the 2015 R Summit](https:\/\/github.com\/jennybc\/2015-06-28_r-summit-talk) and they are a must-read for instructors and even general stats\/R-folk. She&#8217;s one of the foremost experts in R+GitHub and her personal and class workflows provide solid patterns worth emulation.<\/p>\n<p>One thing she has mentioned a few times&mdash;and included in her R Summit talk&mdash;is the idea that you can lean on GitHub when official examples of a function are &#8220;kind of thin&#8221;. She uses a search for `vapply` as an example, showing how to [search for uses of `vapply` in CRAN](https:\/\/github.com\/search?utf8=%E2%9C%93&#038;q=vapply+extension%3AR+user%3Acran) (there&#8217;s a [read-only CRAN mirror on GitHub](http:\/\/www.r-pkg.org\/)) and [in GitHub R code in general](https:\/\/github.com\/search?utf8=%E2%9C%93&#038;q=vapply+extension%3AR).<\/p>\n<p>I remember throwing together a small function to kick up a browser from R for those URLs (in a response to one of her tweets), but realized this morning (after reading her slides last night) that it&#8217;s possible to not leave RStudio to get these GitHub search results (or, at least the first page of results). So, I threw together [this gist](https:\/\/gist.github.com\/hrbrmstr\/32e9c140129d7d51db52) which, when sourced, provides a `ghelp` function. This is the code:<\/p>\n<pre lang=\"rsplus\">ghelp <- function(topic, in_cran=TRUE) {\r\n  \r\n  require(htmltools) # for getting HTML to the viewer\r\n  require(rvest)     # for scraping &#038; munging HTML\r\n\r\n  # github search URL base\r\n  base_ext_url <- \"https:\/\/github.com\/search?utf8=%%E2%%9C%%93&#038;q=%s+extension%%3AR\"\r\n  ext_url <- sprintf(base_ext_url, topic)\r\n\r\n  # if searching with user:cran (the default) add that to the URL  \r\n  if (in_cran) ext_url <- paste(ext_url, \"+user%3Acran\", sep=\"\", collapse=\"\")\r\n  \r\n  # at the time of writing, \"rvest\" and \"xml2\" are undergoing some changes, so\r\n  # accommodate those of us who are on the bleeding edge of the hadleyverse\r\n  # either way, we are just extracting out the results <div> for viewing in \r\n  # the viewer pane (it works in plain ol' R, too)\r\n  if (packageVersion(\"rvest\") < \"0.2.0.9000\") { \r\n    require(XML)\r\n    pg <- html(ext_url)\r\n    res_div <- paste(capture.output(html_node(pg, \"div#code_search_results\")), collapse=\"\")\r\n  } else {\r\n    require(xml2)\r\n    pg <- read_html(ext_url)\r\n    res_div <- as.character(html_nodes(pg, \"div#code_search_results\"))\r\n  }\r\n\r\n  # clean up the HTML a bit   \r\n  res_div <- gsub('How are these search results\\\\? <span class=\"removed_link\" title=\"\/contact\">Tell us!<\/span>', '', res_div)\r\n  # include a link to the results at the top of the viewer\r\n  res_div <- gsub('href=\"\/', 'href=\"http:\/\/github.com\/', res_div)\r\n  # build the viewer page, getting CSS from github-proper and hiding some cruft\r\n  for_view <- sprintf('<html><head><link crossorigin=\"anonymous\" href=\"https:\/\/assets-cdn.github.com\/assets\/github\/index-4157068649cead58a7dd42dc9c0f2dc5b01bcc77921bc077b357e48be23aa237.css\" media=\"all\" rel=\"stylesheet\" \/><style>body{padding:20px}<\/style><\/head><body><span class=\"removed_link\" title=\"%s\">Show on GitHub<\/span><hr noshade size=1\/>%s<\/body><\/html>', ext_url, res_div)\r\n  # this makes it show in the viewer (or browser if you're using plain R)\r\n  html_print(HTML(for_view))\r\n  \r\n}<\/pre>\n<p>Now, when you type `ghelp(&#8220;vapply&#8221;)`, you&#8217;ll get:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/06\/RStudio.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3484\" data-permalink=\"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/rstudio-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/06\/RStudio.png?fit=615%2C601&amp;ssl=1\" data-orig-size=\"615,601\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"RStudio\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/06\/RStudio.png?fit=510%2C498&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/06\/RStudio.png?resize=510%2C498&#038;ssl=1\" alt=\"RStudio\" width=\"510\" height=\"498\" class=\"aligncenter size-full wp-image-3484\" \/><\/a><\/p>\n<p>in the viewer pane (and similar with `ghelp(&#8220;vapply&#8221;, in_cran=FALSE)`). Clicking the top link will take you to the search results page on GitHub (in your default web browser), and all the other links will pop out to a browser as well.<\/p>\n<p>If you&#8217;re the trusting type, you can `devtools::source_gist(&#8217;32e9c140129d7d51db52&#8242;)` or just add this to your R startup functions (or add it to your personal helper package).<\/p>\n<p>There&#8217;s definitely room for some CSS hacking and it would be fairly straightforward to get _all_ the search results into the viewer by following the pagination links and stitching them all together (an exercise left to the reader).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>@JennyBryan posted her [slides from the 2015 R Summit](https:\/\/github.com\/jennybc\/2015-06-28_r-summit-talk) and they are a must-read for instructors and even general stats\/R-folk. She&#8217;s one of the foremost experts in R+GitHub and her personal and class workflows provide solid patterns worth emulation. One thing she has mentioned a few times&mdash;and included in her R Summit talk&mdash;is the idea [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[91,699],"tags":[810],"class_list":["post-3482","post","type-post","status-publish","format-standard","hentry","category-r","category-rstudio","tag-post"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Get by with a little (R) help from your friends (at GitHub) - rud.is<\/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:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Get by with a little (R) help from your friends (at GitHub) - rud.is\" \/>\n<meta property=\"og:description\" content=\"@JennyBryan posted her [slides from the 2015 R Summit](https:\/\/github.com\/jennybc\/2015-06-28_r-summit-talk) and they are a must-read for instructors and even general stats\/R-folk. She&#8217;s one of the foremost experts in R+GitHub and her personal and class workflows provide solid patterns worth emulation. One thing she has mentioned a few times&mdash;and included in her R Summit talk&mdash;is the idea [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/\" \/>\n<meta property=\"og:site_name\" content=\"rud.is\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-29T15:13:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-07T21:43:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rud.is\/b\/wp-content\/uploads\/2015\/06\/RStudio.png\" \/>\n<meta name=\"author\" content=\"hrbrmstr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hrbrmstr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/\"},\"author\":{\"name\":\"hrbrmstr\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"headline\":\"Get by with a little (R) help from your friends (at GitHub)\",\"datePublished\":\"2015-06-29T15:13:27+00:00\",\"dateModified\":\"2018-03-07T21:43:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/\"},\"wordCount\":367,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"image\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/RStudio.png\",\"keywords\":[\"post\"],\"articleSection\":[\"R\",\"RStudio\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/\",\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/\",\"name\":\"Get by with a little (R) help from your friends (at GitHub) - rud.is\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/RStudio.png\",\"datePublished\":\"2015-06-29T15:13:27+00:00\",\"dateModified\":\"2018-03-07T21:43:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/RStudio.png?fit=615%2C601&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/RStudio.png?fit=615%2C601&ssl=1\",\"width\":615,\"height\":601},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/06\\\/29\\\/get-by-with-a-little-r-help-from-your-friends-at-github\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rud.is\\\/b\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get by with a little (R) help from your friends (at GitHub)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#website\",\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/\",\"name\":\"rud.is\",\"description\":\"&quot;In God we trust. All others must bring data&quot;\",\"publisher\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rud.is\\\/b\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\",\"name\":\"hrbrmstr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"width\":460,\"height\":460,\"caption\":\"hrbrmstr\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\"},\"description\":\"Don't look at me\u2026I do what he does \u2014 just slower. #rstats avuncular \u2022 ?Resistance Fighter \u2022 Cook \u2022 Christian \u2022 [Master] Chef des Donn\u00e9es de S\u00e9curit\u00e9 @ @rapid7\",\"sameAs\":[\"http:\\\/\\\/rud.is\"],\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/author\\\/hrbrmstr\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Get by with a little (R) help from your friends (at GitHub) - rud.is","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:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/","og_locale":"en_US","og_type":"article","og_title":"Get by with a little (R) help from your friends (at GitHub) - rud.is","og_description":"@JennyBryan posted her [slides from the 2015 R Summit](https:\/\/github.com\/jennybc\/2015-06-28_r-summit-talk) and they are a must-read for instructors and even general stats\/R-folk. She&#8217;s one of the foremost experts in R+GitHub and her personal and class workflows provide solid patterns worth emulation. One thing she has mentioned a few times&mdash;and included in her R Summit talk&mdash;is the idea [&hellip;]","og_url":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/","og_site_name":"rud.is","article_published_time":"2015-06-29T15:13:27+00:00","article_modified_time":"2018-03-07T21:43:48+00:00","og_image":[{"url":"https:\/\/rud.is\/b\/wp-content\/uploads\/2015\/06\/RStudio.png","type":"","width":"","height":""}],"author":"hrbrmstr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"hrbrmstr","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/#article","isPartOf":{"@id":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/"},"author":{"name":"hrbrmstr","@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"headline":"Get by with a little (R) help from your friends (at GitHub)","datePublished":"2015-06-29T15:13:27+00:00","dateModified":"2018-03-07T21:43:48+00:00","mainEntityOfPage":{"@id":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/"},"wordCount":367,"commentCount":0,"publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"image":{"@id":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/#primaryimage"},"thumbnailUrl":"https:\/\/rud.is\/b\/wp-content\/uploads\/2015\/06\/RStudio.png","keywords":["post"],"articleSection":["R","RStudio"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/","url":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/","name":"Get by with a little (R) help from your friends (at GitHub) - rud.is","isPartOf":{"@id":"https:\/\/rud.is\/b\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/#primaryimage"},"image":{"@id":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/#primaryimage"},"thumbnailUrl":"https:\/\/rud.is\/b\/wp-content\/uploads\/2015\/06\/RStudio.png","datePublished":"2015-06-29T15:13:27+00:00","dateModified":"2018-03-07T21:43:48+00:00","breadcrumb":{"@id":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/#primaryimage","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/06\/RStudio.png?fit=615%2C601&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/06\/RStudio.png?fit=615%2C601&ssl=1","width":615,"height":601},{"@type":"BreadcrumbList","@id":"https:\/\/rud.is\/b\/2015\/06\/29\/get-by-with-a-little-r-help-from-your-friends-at-github\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rud.is\/b\/"},{"@type":"ListItem","position":2,"name":"Get by with a little (R) help from your friends (at GitHub)"}]},{"@type":"WebSite","@id":"https:\/\/rud.is\/b\/#website","url":"https:\/\/rud.is\/b\/","name":"rud.is","description":"&quot;In God we trust. All others must bring data&quot;","publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rud.is\/b\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886","name":"hrbrmstr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","width":460,"height":460,"caption":"hrbrmstr"},"logo":{"@id":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1"},"description":"Don't look at me\u2026I do what he does \u2014 just slower. #rstats avuncular \u2022 ?Resistance Fighter \u2022 Cook \u2022 Christian \u2022 [Master] Chef des Donn\u00e9es de S\u00e9curit\u00e9 @ @rapid7","sameAs":["http:\/\/rud.is"],"url":"https:\/\/rud.is\/b\/author\/hrbrmstr\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p23idr-Ua","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":4515,"url":"https:\/\/rud.is\/b\/2016\/07\/10\/cran-packages-on-github-and-some-cran-description-observations\/","url_meta":{"origin":3482,"position":0},"title":"CRAN Packages on GitHub (and some CRAN DESCRIPTION observations)","author":"hrbrmstr","date":"2016-07-10","format":false,"excerpt":"Just about a week ago @thosjleeper posited something on twitter w\/r\/t how many CRAN packages had associations with GitHub (i.e. how many used GitHub for development). The `DESCRIPTION` file (that comes with all R packages) has some fields that can house this information and most folks who do use GitHub\u2026","rel":"","context":"In &quot;R&quot;","block_context":{"text":"R","link":"https:\/\/rud.is\/b\/category\/r\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3460,"url":"https:\/\/rud.is\/b\/2015\/06\/15\/metricsgraphics-0-8-5-is-now-on-cran\/","url_meta":{"origin":3482,"position":1},"title":"metricsgraphics 0.8.5 is now on CRAN!","author":"hrbrmstr","date":"2015-06-15","format":false,"excerpt":"I'm super-pleased to announce that the Benevolent CRAN Overlords [accepted the metricsgraphics package](http:\/\/cran.r-project.org\/web\/packages\/metricsgraphics\/index.html) into CRAN over the weekend. Now, you no longer need to rely on github\/devtools to use [MetricsGraphics.js](http:\/\/metricsgraphicsjs.org\/) charts from your R scripts. If you're not familiar with `htmlwidgets`, take a look at [the official site for them](http:\/\/www.htmlwidgets.org\/).\u2026","rel":"","context":"In &quot;d3&quot;","block_context":{"text":"d3","link":"https:\/\/rud.is\/b\/category\/d3\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3642,"url":"https:\/\/rud.is\/b\/2015\/08\/24\/new-pacakge-docxtractr-easily-extract-tables-from-microsoft-word-docs\/","url_meta":{"origin":3482,"position":2},"title":"New Pacakge &#8220;docxtractr&#8221; &#8211; Easily Extract Tables From Microsoft Word Docs","author":"hrbrmstr","date":"2015-08-24","format":false,"excerpt":"UPDATE: `docxtractr` is now [on CRAN](https:\/\/cran.rstudio.com\/web\/packages\/docxtractr\/index.html) --------------------- This is more of a follow-up from [yesterday's post](http:\/\/rud.is\/b\/2015\/08\/23\/using-r-to-get-data-out-of-word-docs\/). The hack and function in said post was fine, but it was limited to uniform tables and made you do more work than you had to. So, there's now a `devtools`-installable package [on github](https:\/\/github.com\/hrbrmstr\/docxtractr)\u2026","rel":"","context":"In &quot;R&quot;","block_context":{"text":"R","link":"https:\/\/rud.is\/b\/category\/r\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4547,"url":"https:\/\/rud.is\/b\/2016\/07\/24\/mid-year-r-packages-update-summary\/","url_meta":{"origin":3482,"position":3},"title":"Mid-year R Packages Update Summary","author":"hrbrmstr","date":"2016-07-24","format":false,"excerpt":"I been updating some existing packages and github-releasing new ones (before a CRAN push). Most are \"cyber\"-related, but there are some general purpose ones. Here's a quick overview: docxtractr (CRAN, now, v0.2.0) was initially designed to make it easy to get data tables out of MS Word (docx) documents. The\u2026","rel":"","context":"In &quot;R&quot;","block_context":{"text":"R","link":"https:\/\/rud.is\/b\/category\/r\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3610,"url":"https:\/\/rud.is\/b\/2015\/08\/09\/cdcfluview-on-the-way-to-cran-7k\/","url_meta":{"origin":3482,"position":4},"title":"cdcfluview &#8211; On The Way to &#8220;CRAN 7K&#8221;","author":"hrbrmstr","date":"2015-08-09","format":false,"excerpt":"I like to turn coincidence into convergence whenever possible. This weekend, a user of [cdcfluview](http:\/\/github.com\/hrbrmstr\/cdcfluview) had a question that caused me to notice a difference in behaviour between the package was interacting with CDC FluView API, so I updated the package to accommodate the change and the user. Around the\u2026","rel":"","context":"In &quot;Data Analysis&quot;","block_context":{"text":"Data Analysis","link":"https:\/\/rud.is\/b\/category\/data-analysis-2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3599,"url":"https:\/\/rud.is\/b\/2015\/08\/05\/speeding-up-your-quests-for-r-stuff\/","url_meta":{"origin":3482,"position":5},"title":"Speeding Up Your Quest(s) For &#8220;R Stuff&#8221;","author":"hrbrmstr","date":"2015-08-05","format":false,"excerpt":"I use Google quite a bit when conjuring up R projects, whether it be in a lazy pursuit of a PDF vignette or to find a package or function to fit a niche need. Inevitably, I'll do something like [this](https:\/\/www.google.com\/#q=cran+shapefile) (yeah, I'm still on a mapping kick) and the first\u2026","rel":"","context":"In &quot;Browsers&quot;","block_context":{"text":"Browsers","link":"https:\/\/rud.is\/b\/category\/browsers\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/3482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/comments?post=3482"}],"version-history":[{"count":0,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/3482\/revisions"}],"wp:attachment":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media?parent=3482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/categories?post=3482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/tags?post=3482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}