Send code from source to plot panel

Dear all,
I've seen in many screencasts that people can run code from the source panel while using Rmd creating plots that appear directly in the plot panel while if i do that (using CTRL + enter) they appear at the bottom of the Rmd file.
Can somebody tell me if theres any special shortcut or option to accomplish this?
Thanks

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.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.