add knitr figure dir