Blog Archives

Tips to Reduce the Complexity of Slide Making with Xaringan

April 28, 2019
By

Although I’m a strong believer in R Markdown, I’m not so sure about it in the realm of slide making. After using GUI slide making tools such as Powerpoint or Google Slides for years, it is not easy to get used to making slides with markdown, since it requires additional processing in the brain – the conversion between images...

Read more »

Wrapper of knitr::include_graphics to Handle URLs & PDF Outputs

March 9, 2019
By

Those who use knitr::include_graphics() frequently in their R Markdown files may discover some inconsistencies (from the user point of view) if the same Rmd is used for multiple output formats, especially when PDF (LaTeX) is involved. The following co...

Read more »

Visualizing Language Loss in Taiwan: Create an “Age-Sex Pyramid of Language” with ggplot2

February 16, 2019
By
Visualizing Language Loss in Taiwan: Create an “Age-Sex Pyramid of Language” with ggplot2

Taiwan Language Survey is a small project I worked on during May to June in 2018. The idea was to create a survey that continuously collects data and a web page that visualizes the collected data. The web page is updated weekly using Travis-CI. The main purpose of this survey is to raise public awareness of language loss in Taiwan....

Read more »

Inserting “Edit on GitHub” Buttons in a Single R Markdown Document

February 9, 2019
By
Inserting “Edit on GitHub” Buttons in a Single R Markdown Document

As the R Markdown ecosystem becomes larger, users now may encounter situations where they have to make decisions on which output format of R Markdown to use. One may found none of the formats suitable – the features essential to the output document one wants may scatter across different output formats of R Markdown. Here is a real example I encountered....

Read more »

Using Travis-CI to Create R-bloggers for Taiwan

January 29, 2019
By

R-bloggers.com is a great platform for R users, but I sometimes feel awkward to publish posts on R-bloggers when I have things to share that are only relevant to users in Taiwan1. Inspired by R-bloggers, I thought maybe I could use Travis-CI and GitHub to create a blog that automatically updates its posts by retrieving them from submitted RSS...

Read more »

Customizing Hugo / Blogdown RSS Templates

December 12, 2018
By

Blogdown makes it easy to create Hugo blogs or personal websites, and it is becoming more and more popular in the R community. Once the blog is created, people might want to submit their blogs’ RSS feeds to R-bloggers. But before that can happen, one must modify the RSS template to meet the requirements of RSS submission. Due to my...

Read more »

Create a Glossary in R Markdown

October 23, 2018
By
Create a Glossary in R Markdown

I was thinking about creating a glossary in bookdown and found out that there was already an issue about it. I like Yihui’s recommendation: use Pandoc’s definition lists. This was exactly what I had been doing, but I quickly found out that there was a major drawback – the definition lists won’t order alphabetically unless written in that way. So...

Read more »

Easy Linguistics Document Writing with R Markdown

September 8, 2018
By
Easy Linguistics Document Writing with R Markdown

I’ve written a post about rendering IPA symbols properly regardless of the output format of the R Markdown document. I implemented the ideas into an R package, linguisticsdown. linguisticsdown provides a Shiny interface to facilitate inserting IPA s...

Read more »

Rendering IPA Symbols in R Markdown

September 5, 2018
By

I was thinking about promoting reproducible research in Linguistics, or more precisely, how to attract people with no programming skills to have incentives to learn at least a bit programming, so that they have the ability to make their research more reproducible. I arrived at the solution: start by adopting R Markdown to write articles (see the last section...

Read more »

Making Jekyll Blog Suitable for R-bloggers

August 1, 2018
By
Making Jekyll Blog Suitable for R-bloggers

According to the post add your blog, adding one’s blog to R-bloggers isn’t easy at all, especially for people who use R Markdown to write posts and use Jekyll to generate static web page on GitHub. Two reasons make it difficult: The feed you submit should ONLY be about R (e.g: with R code, or directly related to the R...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)