title: How to show output in console when writing an RMarkdown notebook?
body: <p>I have a simple question, and I think I'm just not looking in the right place, or RStudio is not acting as expected. <strong>I'd like to know if there is an option to output the results of all my markdown code chunks to go to the plots window or the console.</strong> </p>
  
  <p>I'm starting to use R Notebooks to write in R Markdown. Say I type the command</p>
  
  <pre><code>head(cars)
  </code></pre>
  
  <p>into my .Rmd document. I press Ctrl + Enter, and the line is run. Up pops the first 6 lines of the cars dataframe into my script. I see that the line has been run in the console, but the output is not in the console. </p>
  
  <p><strong>Why does this bug me?</strong> Sometimes my code chunks are long. Then, I have to annoyingly scroll to the end of the chunk to see my results. Or, I type head(car), run the line, then decide I want to see tail(car) and run that line. In the console, I'd be able to see both results (head and tail of the dataframe) but in the .Rmd file, because I didn't run them both at once, the results of my "head" call disappear. These seem like small problems but when they happen over and over it's frustrating! I know that if I type directly into the console, I can see the results, but this interrupts my workflow.</p>
  
  <p><strong>What I've tried:</strong> Besides googling, I've gone into RStudio --> tools --> R Markdown, and made sure that the option "show output inline for all markdown documents" is unchecked - doesn't make a difference.</p>
  
  <p>Am I missing an option here? I'm using <strong>R Studio Version 1.0.136</strong>.</p>
  
  <p>Thanks!</p>
  
  <p>Here is the code (using an .Rmd notebook file)</p>
  
  <pre><code>---
  title: "R Notebook"
  output: html_notebook
  ---
  
  
  ```{r}
  # run just this line
  head(cars)
  
  # run just this line
  tail(cars)
  
  # Both show up below (here in the file) but do not go to console
  ```
  </code></pre>
  
  <p>And a screenshot: <a href="https://i.stack.imgur.com/ncy97.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ncy97.png" alt="output does not go to console"></a></p>