If you are using RStudio you can click the cog-wheel at the top of the editor and choose to view chunk output inline or in console. Toggle to your preference.
You can set this option globally in the RStudio preferences within the R Markdown sub-menu.