Skip to content

Commit

Permalink
Name change on post
Browse files Browse the repository at this point in the history
  • Loading branch information
jfisher-usgs committed Jul 3, 2012
1 parent abd7e67 commit c079728
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Notes on creating a [Jekyll-Bootstrap](http://jekyllbootstrap.com/) blog post
using [knitr](http://yihui.name/knitr/). Knitr is a general-purpose package for
dynamic report generation in [R](http://www.r-project.org/).
The only required input is an **R Markdown** file. The name of the R Markdown file
used to create this post is *2012-07-02-knitr-jekyll.Rmd*
([source](https://github.com/jfisher-usgs/jfisher-usgs.github.com/blob/master/Rmd/2012-07-02-knitr-jekyll.Rmd)).
used to create this post is *2012-07-03-knitr-jekyll.Rmd*
([source](https://github.com/jfisher-usgs/jfisher-usgs.github.com/blob/master/Rmd/2012-07-03-knitr-jekyll.Rmd)).

Create a Jekyll-Boostrap blog if you don't already have one. A brief tutorial
on building this blog is available
Expand All @@ -31,14 +31,14 @@ KnitPost <- function(input, base.url = "/") {
render_jekyll()
knit(input, envir = parent.frame())
}
KnitPost("2012-07-02-knitr-jekyll.Rmd")
KnitPost("2012-07-03-knitr-jekyll.Rmd")
{% endhighlight %}




Move the resulting image folder *2012-07-02-knitr-jekyll* and Markdown file
*2012-07-02-knitr-jekyll.md* to the local Git repository.
Move the resulting image folder *2012-07-03-knitr-jekyll* and Markdown file
*2012-07-03-knitr-jekyll.md* to the local Git repository.
The KnitPost function assumes that the image folder will be placed in a
[figs](https://github.com/jfisher-usgs/jfisher-usgs.github.com/tree/master/figs)
folder located at the root of the repository.
Expand Down Expand Up @@ -82,7 +82,7 @@ par(mar = c(4, 4, 0.1, 0.1), omi = c(0, 0, 0, 0))
plot(cars)
{% endhighlight %}

![center](/figs/2012-07-02-knitr-jekyll/fig1.png)
![center](/figs/2012-07-03-knitr-jekyll/fig1.png)

##### Figure 1: Caption

Expand All @@ -93,6 +93,6 @@ par(mar = c(2.5, 2.5, 0.5, 0.1), omi = c(0, 0, 0, 0))
filled.contour(volcano)
{% endhighlight %}

![center](/figs/2012-07-02-knitr-jekyll/fig2.png)
![center](/figs/2012-07-03-knitr-jekyll/fig2.png)

##### Figure 2: Caption
File renamed without changes
File renamed without changes

0 comments on commit c079728

Please sign in to comment.