<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Rstudio on rostrum.blog</title>
    <link>https://www.rostrum.blog/tags/rstudio/</link>
    <description>Recent content in Rstudio on rostrum.blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-gb</language>
    <lastBuildDate>Fri, 08 Jul 2022 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://www.rostrum.blog/tags/rstudio/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Stop opening the same RStudio Project twice</title>
      <link>https://www.rostrum.blog/2022/07/08/rproj-dupes/</link>
      <pubDate>Fri, 08 Jul 2022 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2022/07/08/rproj-dupes/</guid>
      <description>tl;dr I keep opening more than one instance of the same RStudio Project and it’s annoying me, so I wrote a function to warn me on startup.
 Double trouble Sometimes I write code in an RStudio Project and then go and do something else. My memory is terrible, so later I might open a second instance of the same project and wonder what happened to that code I’d written before.</description>
    </item>
    
    <item>
      <title>Auto-label closing parentheses in RStudio</title>
      <link>https://www.rostrum.blog/2021/08/31/add-biscuits/</link>
      <pubDate>Tue, 31 Aug 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2021/08/31/add-biscuits/</guid>
      <description>tl;dr I wrote a novelty R function that inserts comments after closing parentheses with the names of the functions they belong to. (These are called biscuits, apparently.) It’s available as an RStudio Addin from the {blogsnip} package.
 Matryoshka functions Shiny apps can involve a lot of nested functions in the UI, which can make them difficult to handle.
Sometimes I comment after a closing parenthesis (‘paren’) with the name of the function that it’s closing, which makes it easier to match the pairs.</description>
    </item>
    
    <item>
      <title>Rate my RStudio setup</title>
      <link>https://www.rostrum.blog/2020/09/15/rstudio-settings/</link>
      <pubDate>Tue, 15 Sep 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2020/09/15/rstudio-settings/</guid>
      <description>tl;dr I share my RStudio setup and some features of the IDE I often use. Tell me about your setup.
 Configuration IDEation R has a decent community online. People love to share opinions about design, customisation and workflow efficiencies. Why is there little at the intersection?
What I do see is people excited to hear about a checkbox or shortcut they never knew existed. I also hear from colleagues who are learning R and want to know more about customising their experience.</description>
    </item>
    
    <item>
      <title>{blogsnip}: an RStudio addin package</title>
      <link>https://www.rostrum.blog/2019/10/22/blogsnip/</link>
      <pubDate>Tue, 22 Oct 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2019/10/22/blogsnip/</guid>
      <description>Inserting a details block with the {blogsnip} addin  tl;dr On my commute home I made {blogsnip}: a tiny package of RStudio addins that add snippets of R code to help me write blog posts.
Install with:
install.packages(&amp;quot;remotes&amp;quot;) remotes::install_github(&amp;quot;matt-dray/blogsnip&amp;quot;)  The problem I’m lazy.
There’s some bits of code I often want to put in my blog posts (written in R Markdown) but I can’t remember them.
In particular:
 an expandable ‘details’ section1, which sometimes contains R session information and the date of the post’s last update (see examples throughout this previous post) a way to add an image with a caption and alt text that differ (like the gif at the top of this post), something that makes the images more accessible for users of screen readers, for example a link that opens in a new tab, rather than in the tab where you’re reading a post (as per this tweet by Albert Y Kim)  Originally I stored them in a GitHub Gist, but this is sub-optimal: the internet connection on my commute can be patchy.</description>
    </item>
    
    <item>
      <title>{holepunch} a {drake} and put it in a Binder</title>
      <link>https://www.rostrum.blog/2019/08/25/holepunch-drake/</link>
      <pubDate>Sun, 25 Aug 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2019/08/25/holepunch-drake/</guid>
      <description>tl;dr Binder lets people explore your GitHub-based R code in a live, browser-based instance of RStudio – for free. Set-up for R projects is quick with {holepunch}.
I’ve used {holepunch} on my {drake} demo repo. Click the ‘launch binder’ badge in the repo’s README.
 Icing on the {drake} I wrote about how Will Landau’s excellent {drake} package could be used to minimise errors and speed up the production of statistical reports by the UK government.</description>
    </item>
    
    <item>
      <title>Teaching R with Pokémon Go data</title>
      <link>https://www.rostrum.blog/2018/11/04/r-train-pkmn/</link>
      <pubDate>Sun, 04 Nov 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2018/11/04/r-train-pkmn/</guid>
      <description>Psyduck hurt itself in its confusion (via Giphy)  You teach me and I’ll teach you I wrote in a recent post about some training materials I wrote for teaching R Markdown.
Now I’m sharing another thing I made: Beginner R and RStudio Training (featuring Pokémon!). It’s an introduction to R, RStudio, R Projects, directory structure and the tidyverse. It uses Pokémon Go1 data that I collected myself.2
You can:</description>
    </item>
    
  </channel>
</rss>