Displaying 2 results from an estimated 2 matches for "c_path_plot".
Did you mean:
c_path_plots
2017 Jun 12
2
Paths in knitr
...thoughts looked not so strange to me, e.g.
https://philmikejones.wordpress.com/2015/05/20/set-root-directory-knitr/.
Unfortunately, it does not work for me.
I am using a RStudio project file. Could it be that this interferes which
the knitr options?
I tried the solution that Duncan suggested:
c_path_plots <-
"H:/2017/Analysen/Kundenzufriedenheit/Auswertung/results/graphics
`r knitr::include_graphics(file.path(c_path_plots,
"email_distribution_pie.png"))`
This solution works fine. I will go with it for this project as I have to
finish my report soon.
I read Hadley's book...
2017 Jun 12
0
Paths in knitr
....g.
> https://philmikejones.wordpress.com/2015/05/20/set-root-directory-knitr/.
> Unfortunately, it does not work for me.
>
> I am using a RStudio project file. Could it be that this interferes which
> the knitr options?
>
> I tried the solution that Duncan suggested:
>
> c_path_plots <-
> "H:/2017/Analysen/Kundenzufriedenheit/Auswertung/results/graphics
>
> `r knitr::include_graphics(file.path(c_path_plots,
> "email_distribution_pie.png"))`
>
> This solution works fine. I will go with it for this project as I have to
> finish my report so...