R Blogdown Setup in GitHub (2)

An updated tutorial to set up a blogdown blog Install Blogdown Install Hugo ./From RStudio ./From other sources Git & GitHub repos RStudio and blogdown setup Customising paths and styles Modify config.toml file Custom css Custom javascript MathJax Site build with blogdown Deploying the site Updating the local git repository Pushing to GitHub Add R code A new post in blogdown Deploying the site with the new post This .

Continue reading

A minimal Project Tree in R

Introduction The last two days arrived at my twitter feed some discussions on how bad are the following sentences at the beginning of your R script/notebook, sparked by @JennyBryan’s slides at the IASC-ARS/NZSA Conference: setwd() and rm(list = ls()) The only two things that make @JennyBryan 😤😠🤯. Instead use projects + here::here() #rstats pic.twitter.com/GwxnHePL4n — Hadley Wickham (@hadleywickham) December 11, 2017 Blog post elaborating on my advice to avoid setwd() and rm(list = ls()) at top of an #rstats script.

Continue reading

R Blogdown Setup in GitHub

The blogdown R package Finally, -after 24h of failed attempts-, I could get my favourite Hugo theme up and running with R Studio and Blogdown. After exploring some alternatives, like Shirin’s (with Jekyll), and Amber Thomas advice (which involved Git skills beyond my basic abilities), I was able to install Yihui’s hugo-lithium-theme in a new repository. However, I wanted to explore other blog templates, hosted in GiHub, like:

Continue reading

Author's picture

aurora-mareviv

Anesthesiologist, MD, postdoc. Utter Rstats geek

Universidade de Santiago de Compostela

Spain