Radix: The joy of Blogging

How Rstudio::Radix has brought back the joy of tecnhical blogging!

Alberto Negron
10-04-2018

I am guilty!

I have left so many fatherless blogs behind that I have lost the count. I have had blogs since the times when Netscape Navigator was the king of internet. Vanilla Html pages, Joomla, Blogger, Wordpress (several times), jekyll, Medium, blogs in spanish! - you name a blog-publishing service and I probably had a blog there.

I like blogging, do not get me wrong. I like writing technical contents about programming & statistics and more often than not this mean sharing code, charts, etc… But after a while I lose the will to keep my blog alive due to the same reason: the workflow is painful!!!.

I normally write about R, Python, SAS, Ruby and SQL and this means having different workflows to publish articles. When I am writing about R my workflow is Rstudio+Rmd %>% .md %>% jekyll (with a few hacks to make markdown’s output jekyll-friendly). If python then is jupyter notebooks, SAS is copy & paste etc.

I know I can use python/ruby and even SAS from within Rstudio using knitr but still there was always some hackery intervention to push articles to jekyll.

Then there was the problem of customizing my blog, you know, make it mobile friendly, pick colors, fonts, layout, how articles should be displayed etc.

This is not a rant about jekyll or other blogs - in fact Jekyll was the closest thing I have had to what I wanted from a blog…. until now.

A few weeks ago, the smart dudes of Rstudio released a new online publication system called Radix. It is primarly designed for scientific and technical communication and it is bundled with a bunch of goodies:

What the Rstudio folks have achieved is a simple workflow but yet very powerful: from writing articles to publishing them in a couple of clicks.

I can now write code in Ruby:


p "Hello Radix".split('')

["H", "e", "l", "l", "o", " ", "R", "a", "d", "i", "x"]

R:


library(ggplot2)

ggplot(mpg, aes(displ, hwy, colour = class)) + 
  geom_point()

Python:


x = [i for i in range(10)]
print(x)

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

and in fact all these languages:


 [1] "awk"       "bash"      "coffee"    "gawk"      "groovy"   
 [6] "haskell"   "lein"      "mysql"     "node"      "octave"   
[11] "perl"      "psql"      "Rscript"   "ruby"      "sas"      
[16] "scala"     "sed"       "sh"        "stata"     "zsh"      
[21] "highlight" "Rcpp"      "tikz"      "dot"       "c"        
[26] "fortran"   "fortran95" "asy"       "cat"       "asis"     
[31] "stan"      "block"     "block2"    "js"        "css"      
[36] "sql"       "go"        "python"    "julia"     "yaml"     

and just publish my articles straight from Rstudio desktop!!! No more special hacks!!!

Suddenly, the joy of blogging has filled my heart again and here I am writing my first article using Radix.

Cheers to the Rstudio team!

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Negron (2018, Oct. 4). Data Addict's Secret Diary: Radix: The joy of Blogging. Retrieved from http://www.dataaddict.me/posts/2018-10-04-radix-the-joy-of-blogging/

BibTeX citation

@misc{negron2018radix:,
  author = {Negron, Alberto},
  title = {Data Addict's Secret Diary: Radix: The joy of Blogging},
  url = {http://www.dataaddict.me/posts/2018-10-04-radix-the-joy-of-blogging/},
  year = {2018}
}