I am trying to knit a rmarkdown document into word but when i do so the plots does not show in the work dokument even though i can see them in rstudio. The error states that the data is not found.
How do i fix this so i can see the plots when the document is knit into word?
When you knit a Rmd document (to any format) the code gets executed in a clean environment different than the one you are currently working on, so if you haven't included code for reading or creating the data, is not going to exist in that environment.