SIT.blog - Wrappers to ease and automate blog posting09 Apr 2016
SIT.blog package is the collection of functions to ease and automate blog posting.
The blog posts are created in the R script with special Markdown formating.
The blog R script is converted to the RMarkdown format using
Check out following introduction to spin command:
- Knitr’s best hidden gem: spin
- Quick reporting: build a report based on an R script
You can also check R scripts used to generate latest blog post at http://github.com/systematicinvestor/systematicinvestor.github.io/tree/master/rposts
I use following process to to ease and automate blog posting:
Write blog post in R script with special Markdown formating. For example Benchmark Plus post.
Execute following command:
- Once I’m happy with results, execute following command:
This command will run the blog post and copy final markdown and corresponding images to the blog folder you specify.
Alternatively, you can run the same command to process all blog post in the current folder by execute following command:
Please let me know if stumble upon any bugs.
Please install with
For your convenience, the 2016-04-09-SIT.blog post source code.