Skip to content

Commit

Permalink
use different directory per file
Browse files Browse the repository at this point in the history
  • Loading branch information
yutannihilation committed Jul 4, 2015
1 parent be6fdb1 commit 02806a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion chunk_options.Rmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
```{r chunk_options, include=FALSE}
library(knitr)
opts_chunk$set(
cache = TRUE,
fig.path = "figures/"
fig.path = file.path("figures/", opts_chunk$get("fig.path"))
)
opts_template$set(
Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion test.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h4 class="date"><em>2015年7月3日</em></h4>
## 3rd Qu.:19.0 3rd Qu.: 56.00
## Max. :25.0 Max. :120.00</code></pre>
<p>You can also embed plots, for example:</p>
<p><img src="figures/unnamed-chunk-3-1.png" title="" alt="" width="672" /></p>
<p><img src="figures//test_files/figure-htmlunnamed-chunk-3-1.png" title="" alt="" width="672" /></p>
<p>Note that the <code>echo = FALSE</code> parameter was added to the code chunk to prevent printing of the R code that generated the plot.</p>

<script type="text/javascript" src="libs/fluidbox/jquery.fluidbox.min.js"></script>
Expand Down

0 comments on commit 02806a4

Please sign in to comment.