

{"id":3796,"date":"2015-11-21T08:58:25","date_gmt":"2015-11-21T13:58:25","guid":{"rendered":"http:\/\/rud.is\/b\/?p=3796"},"modified":"2018-03-07T16:43:07","modified_gmt":"2018-03-07T21:43:07","slug":"an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor","status":"publish","type":"post","link":"https:\/\/rud.is\/b\/2015\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/","title":{"rendered":"An OS X R Task Runner for\u2014and a Mini-R-centric review of\u2014Microsoft&#8217;s Visual Studio Code Editor"},"content":{"rendered":"<p>Microsoft&#8217;s newfound desire to make themselves desirable to the hipster development community has caused them to make many things [open](https:\/\/github.com\/Microsoft\/) and\/or free of late. One of these manifestations is [Visual Studio Code](https:\/\/code.visualstudio.com\/), an [Atom](https:\/\/atom.io\/)-ish editor for us code jockeys. I have friends at Microsoft and the Revolution R folks are there now, so I try to give things from Redmond a shot more than I previously would, especially when they make things for Mac.<\/p>\n<p>VS code is so much like Atom (or even [Sublime Text](http:\/\/www.sublimetext.com\/)) that I won&#8217;t go into a full review of it.  Suffice it to say it has a file selector pane, editor panes, output panes, snippets, theme support and is pretty extensible. One requirement I appreciate is that it forces you to think of code in terms of projects (you select a directory to edit in) and I also appreciate that they made git a first-class citizen.<\/p>\n<p>Since I do not spend much time building large, compiled applications (this\u2014along with web apps\u2014seems to be VS Code&#8217;s sweet spot) there isn&#8217;t much initial appeal for me. It also lacks the &#8220;intellisense&#8221; support for the main language I use (R) so I&#8217;m left with basic syntax highlighting (the 90&#8217;s called and want their basic editor capabilities back).<\/p>\n<p>None of that would initially drive me away from using something like VS Code and I may end up using it for HTML\/CSS\/JavaScript projects or even fire it up when I need to do some work in Python or Go. But I won&#8217;t be using it for R any time soon. While the aforementioned lack of &#8220;intellisense&#8221; for R is an issue, I don&#8217;t rely on the auto-completion for R but it does occasionally speed up typing and definitely helps with the more esoteric function definitions in equally esoteric packages. <\/p>\n<p>The biggest show-stopper for VS Code is the lack of REPL (a read-eval-print loop) for R. I can fire up an R script in Sublime Text or even Atom and run individual lines of code that are executed in an R session that runs in the background and outputs in an editor pane. It works well but it is (unsurprisingly) a far cry from the tight integration of similar functionality in RStudio. VS Code can run R scripts (it just runs the code through R as you would at the command-line) but has no REPL for R, which means you end up executing the entire script as you go along. No saved state (more on that in a second) means that the beautiful data frame your code created that took 10 minutes to build will take 10 minutes to build every time you tweak model parameters or ggplot2 aesthetics. Granted, you could call R with `&#8211;save` but then you have to check for the presence of data structures in your code (so you might as well be programming in non-interactive Python).<\/p>\n<p>An offshoot of the details behind this show-stopper is that you do not get graphics output in a window. You get a single PDF of all plots, just as you would if you ran the R script at the command-line. If you&#8217;ve been spoiled by RStudio or even cutting and pasting code from an editor into the R GUI, you will immediately miss the graphics viewer pane. <\/p>\n<p>Unless Microsoft (or some community contributors who desperately want to use R in VS Code for some reason) add some of this functionality to VS Code (including support for seamlessly spinning R scripts and knitting R markdown documents), I cannot recommend using to anyone in the R community. <\/p>\n<p>Having said that, here&#8217;s the `tasks.json` configuration if you want to be able to hit `Command-Shift-B` in an R script in VS Code and have it execute and display the output. This configuration is for the official R Project build of R and should work even after a R version upgrade).<\/p>\n<pre lang=\"javascript\">{\r\n\t\"version\": \"0.1.0\",\r\n\t\"command\": \"\/Library\/Frameworks\/R.framework\/Resources\/bin\/R\",\r\n\t\"showOutput\": \"always\",\r\n\t\"args\": [\r\n\t\t\"--no-restore\",\r\n\t\t\"--no-save\",\r\n\t\t\"--quiet\",\r\n\t\t\"--file=${file}\"\r\n\t]\r\n}<\/pre>\n<p>If you are using VS Code for R (on any platform) your comments would be especially most welcome. It&#8217;d be great to hear why you&#8217;re using it and how you&#8217;ve configured it to help make you as productive as RStudio or ESS has for others.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft&#8217;s newfound desire to make themselves desirable to the hipster development community has caused them to make many things [open](https:\/\/github.com\/Microsoft\/) and\/or free of late. One of these manifestations is [Visual Studio Code](https:\/\/code.visualstudio.com\/), an [Atom](https:\/\/atom.io\/)-ish editor for us code jockeys. I have friends at Microsoft and the Revolution R folks are there now, so I try [&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":false,"_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":[63,12,91],"tags":[810],"class_list":["post-3796","post","type-post","status-publish","format-standard","hentry","category-development","category-os-x","category-r","tag-post"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>An OS X R Task Runner for\u2014and a Mini-R-centric review of\u2014Microsoft&#039;s Visual Studio Code Editor - 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\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"An OS X R Task Runner for\u2014and a Mini-R-centric review of\u2014Microsoft&#039;s Visual Studio Code Editor - rud.is\" \/>\n<meta property=\"og:description\" content=\"Microsoft&#8217;s newfound desire to make themselves desirable to the hipster development community has caused them to make many things [open](https:\/\/github.com\/Microsoft\/) and\/or free of late. One of these manifestations is [Visual Studio Code](https:\/\/code.visualstudio.com\/), an [Atom](https:\/\/atom.io\/)-ish editor for us code jockeys. I have friends at Microsoft and the Revolution R folks are there now, so I try [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rud.is\/b\/2015\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/\" \/>\n<meta property=\"og:site_name\" content=\"rud.is\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-21T13:58:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-07T21:43:07+00:00\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/11\\\/21\\\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/11\\\/21\\\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\\\/\"},\"author\":{\"name\":\"hrbrmstr\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"headline\":\"An OS X R Task Runner for\u2014and a Mini-R-centric review of\u2014Microsoft&#8217;s Visual Studio Code Editor\",\"datePublished\":\"2015-11-21T13:58:25+00:00\",\"dateModified\":\"2018-03-07T21:43:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/11\\\/21\\\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\\\/\"},\"wordCount\":741,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"keywords\":[\"post\"],\"articleSection\":[\"Development\",\"OS X\",\"R\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/11\\\/21\\\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/11\\\/21\\\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\\\/\",\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/11\\\/21\\\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\\\/\",\"name\":\"An OS X R Task Runner for\u2014and a Mini-R-centric review of\u2014Microsoft's Visual Studio Code Editor - rud.is\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#website\"},\"datePublished\":\"2015-11-21T13:58:25+00:00\",\"dateModified\":\"2018-03-07T21:43:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/11\\\/21\\\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/11\\\/21\\\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2015\\\/11\\\/21\\\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rud.is\\\/b\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"An OS X R Task Runner for\u2014and a Mini-R-centric review of\u2014Microsoft&#8217;s Visual Studio Code Editor\"}]},{\"@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":"An OS X R Task Runner for\u2014and a Mini-R-centric review of\u2014Microsoft's Visual Studio Code Editor - 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\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/","og_locale":"en_US","og_type":"article","og_title":"An OS X R Task Runner for\u2014and a Mini-R-centric review of\u2014Microsoft's Visual Studio Code Editor - rud.is","og_description":"Microsoft&#8217;s newfound desire to make themselves desirable to the hipster development community has caused them to make many things [open](https:\/\/github.com\/Microsoft\/) and\/or free of late. One of these manifestations is [Visual Studio Code](https:\/\/code.visualstudio.com\/), an [Atom](https:\/\/atom.io\/)-ish editor for us code jockeys. I have friends at Microsoft and the Revolution R folks are there now, so I try [&hellip;]","og_url":"https:\/\/rud.is\/b\/2015\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/","og_site_name":"rud.is","article_published_time":"2015-11-21T13:58:25+00:00","article_modified_time":"2018-03-07T21:43:07+00:00","author":"hrbrmstr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"hrbrmstr","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rud.is\/b\/2015\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/#article","isPartOf":{"@id":"https:\/\/rud.is\/b\/2015\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/"},"author":{"name":"hrbrmstr","@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"headline":"An OS X R Task Runner for\u2014and a Mini-R-centric review of\u2014Microsoft&#8217;s Visual Studio Code Editor","datePublished":"2015-11-21T13:58:25+00:00","dateModified":"2018-03-07T21:43:07+00:00","mainEntityOfPage":{"@id":"https:\/\/rud.is\/b\/2015\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/"},"wordCount":741,"commentCount":1,"publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"keywords":["post"],"articleSection":["Development","OS X","R"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rud.is\/b\/2015\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/rud.is\/b\/2015\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/","url":"https:\/\/rud.is\/b\/2015\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/","name":"An OS X R Task Runner for\u2014and a Mini-R-centric review of\u2014Microsoft's Visual Studio Code Editor - rud.is","isPartOf":{"@id":"https:\/\/rud.is\/b\/#website"},"datePublished":"2015-11-21T13:58:25+00:00","dateModified":"2018-03-07T21:43:07+00:00","breadcrumb":{"@id":"https:\/\/rud.is\/b\/2015\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rud.is\/b\/2015\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rud.is\/b\/2015\/11\/21\/an-os-x-r-task-runner-for-and-a-mini-r-centric-review-of-microsofts-visual-studio-code-editor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rud.is\/b\/"},{"@type":"ListItem","position":2,"name":"An OS X R Task Runner for\u2014and a Mini-R-centric review of\u2014Microsoft&#8217;s Visual Studio Code Editor"}]},{"@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-Ze","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":13927,"url":"https:\/\/rud.is\/b\/2023\/04\/10\/introducing-webrider-the-webr-ide-ish-repl-you-didnt-know-you-needed\/","url_meta":{"origin":3796,"position":0},"title":"Introducing WebRIDEr: The WebR &#8220;IDE&#8221;-ish REPL You Didn&#8217;t Know You Needed","author":"hrbrmstr","date":"2023-04-10","format":false,"excerpt":"The official example WebR REPL is definitely cool and useful to get the feel for WebR. But, it is far from an ideal way to deal with it interactively, even as just a REPL. As y'all know, I've been conducing numerous experiments with WebR and various web technologies. I started\u2026","rel":"","context":"In &quot;R&quot;","block_context":{"text":"R","link":"https:\/\/rud.is\/b\/category\/r\/"},"img":{"alt_text":"ide-like view","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/04\/preview.png?fit=1200%2C754&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/04\/preview.png?fit=1200%2C754&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/04\/preview.png?fit=1200%2C754&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/04\/preview.png?fit=1200%2C754&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/04\/preview.png?fit=1200%2C754&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":12645,"url":"https:\/\/rud.is\/b\/2020\/02\/06\/prying-r-script-files-away-from-xcode-et-al-on-macos\/","url_meta":{"origin":3796,"position":1},"title":"Prying &#8220;.R&#8221; Script Files Away from Xcode (et al) on macOS","author":"hrbrmstr","date":"2020-02-06","format":false,"excerpt":"As the maintainer of RSwitch --- and developer of my own (for personal use) macOS, iOS, watchOS, iPadOS and tvOS apps --- I need the full Apple Xcode install around (more R-focused macOS folk can get away with just the command-line tools being installed). As an Apple Developer who insanely\u2026","rel":"","context":"In &quot;macOS&quot;","block_context":{"text":"macOS","link":"https:\/\/rud.is\/b\/category\/macos\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3977,"url":"https:\/\/rud.is\/b\/2016\/02\/27\/create-vega-lite-specs-widgets-with-the-vegalite-package\/","url_meta":{"origin":3796,"position":2},"title":"Create Vega-Lite specs &#038; widgets with the vegalite package","author":"hrbrmstr","date":"2016-02-27","format":false,"excerpt":"[Vega-Lite](http:\/\/vega.github.io\/vega-lite\/) 1.0 was [released this past week](https:\/\/medium.com\/@uwdata\/introducing-vega-lite-438f9215f09e#.yfkl0tp1c). I had been meaning to play with it for a while but I've been burned before by working with unstable APIs and was waiting for this to bake to a stable release. Thankfully, there were no new shows in the Fire TV, Apple\u2026","rel":"","context":"In &quot;d3&quot;","block_context":{"text":"d3","link":"https:\/\/rud.is\/b\/category\/d3\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/02\/gallery.png?fit=1200%2C595&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/02\/gallery.png?fit=1200%2C595&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/02\/gallery.png?fit=1200%2C595&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/02\/gallery.png?fit=1200%2C595&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/02\/gallery.png?fit=1200%2C595&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":4254,"url":"https:\/\/rud.is\/b\/2016\/04\/07\/geom_lollipop-by-the-chartettes\/","url_meta":{"origin":3796,"position":3},"title":"geom_lollipop() by the Chartettes","author":"hrbrmstr","date":"2016-04-07","format":false,"excerpt":">UPDATE: Changed code to reflect the new `horizontal` parameter for `geom_lollipop()` I make a fair share of bar charts throughout the day and really like switching to lollipop charts to mix things up a bit and enhance the visual appeal. They're easy to do in `ggplot2`, just use your traditional\u2026","rel":"","context":"In &quot;Data Visualization&quot;","block_context":{"text":"Data Visualization","link":"https:\/\/rud.is\/b\/category\/data-visualization\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/download.png?fit=1200%2C1114&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/download.png?fit=1200%2C1114&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/download.png?fit=1200%2C1114&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/download.png?fit=1200%2C1114&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/download.png?fit=1200%2C1114&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1880,"url":"https:\/\/rud.is\/b\/2013\/01\/11\/slopegraphs-in-r\/","url_meta":{"origin":3796,"position":4},"title":"Slopegraphs in R","author":"hrbrmstr","date":"2013-01-11","format":false,"excerpt":"I updated the code to use ggsave and tweaked some of the font & line size values for more consistent (and pretty) output. This also means that I really need to get this up on github. If you even remotely follow this blog, you'll see that I'm kinda obsessed with\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3558,"url":"https:\/\/rud.is\/b\/2015\/07\/25\/roll-your-own-gist-comments-notifier-in-r\/","url_meta":{"origin":3796,"position":5},"title":"Roll Your Own Gist Comments Notifier in R","author":"hrbrmstr","date":"2015-07-25","format":false,"excerpt":"As I was putting together the [coord_proj](https:\/\/rud.is\/b\/2015\/07\/24\/a-path-towards-easier-map-projection-machinations-with-ggplot2\/) ggplot2 extension I had posted a (https:\/\/gist.github.com\/hrbrmstr\/363e33f74e2972c93ca7) that I shared on Twitter. Said gist received a comment (several, in fact) and a bunch of us were painfully reminded of the fact that there is no built-in way to receive notifications from said comment\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":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/3796","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=3796"}],"version-history":[{"count":0,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/3796\/revisions"}],"wp:attachment":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media?parent=3796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/categories?post=3796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/tags?post=3796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}