This blog website is created with blogdown, an R Package to create websites. The basis behind it is Hugo. You can create articles using R code and markdown language. It is an easy wrapper to generate new posts, update old ones and highlight yout code.
For example, here I load for example R packages load data and display the generated plot
library(ggplot2)
library(ggthemes)
x_axis<- c(1,2,3,4,5,6)
y_axis <- c(1,2,3,4,5,6)
df <- as.data.frame(x_axis, y_axis)
ggplot(df) + geom_point(aes(x_axis,y_axis))