KnitPost_AB: KnitPost by Andrew Brooks

Description Usage Arguments Details Author(s)

View source: R/KnitPost_AB.R

Description

How to use KnitPost 1. Configure the directories at the top of KnitPost to match the file system of your blog. I could have included these as parameters, but I figured I wouldn<e2><80><99>t re-architect my blog very often<e2><80><a6> so I left them hard-coded.

Usage

1
2
  KnitPost_AB(site.path = "C:/Users/asus/Documents/GitHub/Pokemon_FieldStudies/",
  overwriteAll = F, overwriteOne = NULL)

Arguments

overwriteOne

Details

2. Create an R Markdown post and save it as a .Rmd file in rmd.path. Be sure to include the proper YAML front matter for Jekyll. This tripped me up initially. I forgot to change the date from the knitr style date (<e2><80><9c>Month, day YYYY<e2><80><9d>) that auto-generates when you create a new .Rmd to a Jekyll style date (<e2><80><98>YYYY-MM-DD<e2><80><99>).

3. Run KnitPost to publish your R Markdown file.

http://brooksandrew.github.io/simpleblog/articles/blogging-with-r-markdown-and-jekyll-using-knitr/

Author(s)

Andrew Brooks


DaveRGP/Regular documentation built on May 6, 2019, 1:54 p.m.