layout: post title: SIT.blog - Helper functions to automate Blog post generation comments: true
To install Systematic Investor Toolbox (SIT) please visit About page.
SIT.blog package is the collection of functions to ease / automate Blog post generation.
{% highlight r %} library(knitr) library(markdown) library(SIT.blog)
run.posts.html('2016-02-28-Post.r')
run.posts('2016-02-28-Post.r')
run.posts('^\d-..r$')
{% endhighlight %}
If you loading code that will use print statement, please use local = T i.e. source('code.r',T) this way the print function defined in SIT.blog will be used
I used a modified theme from JasonM23
Simple Markdown syntax for formatting your R scripts into WEB pages using knitr::spin() the chunk name is not required, for example {% highlight r %}
{% endhighlight %}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.