I am using Atom.io to write Rmarkdown files. It works pretty well so far, but I can't get the graphical results of a code chunk to show in the preview / knitted (saved) file.
Current packages: Hydrogen, atom-language-r, markdown-preview-enhanced
If I run the code via Hydrogen in the rmarkdown file the graph is displayed inline. But if I run the code in the rmarkdown preview via markdown-preview-enhanced. The graph doesn't show either in the preview or when I save the file.
Here is a picture of me running the code using Hydrogen
On the left is the actual .rmd file. If I right click and "run cell" using Hydrogen the boxplot shows up. But, if I run it in the preview the boxplot does not show up (below)
Here is a picture of my workspace.
I would like the boxplot saved inside the final document (html or pdf), but cannot get it to embed into the saved rmarkdown file.