The bookdown book does a great job of explaining that the best way to include images is by using include_graphics() . For example, a full width image can be printed with a caption below:
The working directory is different in both output. That's why I was not able to load the figure. I don't know why it is showing different working directory. Maybe, the working directory in Rmarkdown is showing the where markdown file located ?
yes you are right. By default, rmarkown execute in the directory it located. You can change that using the ezknitr , setting knitr option opts_knit$set(root.dir = "<another directory") or using helpers package like the here to help you create automatically full path based on your current RStudio project, wherever your Rmd is.
Some ressources on the last options (the one I recommend)