title: How do I copy code from the console to the editor/source pane in Rstudio
body: <p>User interface = Rstudio.
  Is there a short-cut key that will paste code from my console in Rstudio to a R Markdown file that I am developing in the workspace above the console?<a href="https://i.stack.imgur.com/EjXs6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EjXs6.jpg" alt="enter image description here"></a></p>
  
  <p>In the picture above, I would like to move the <code>read1_file &lt;- read.table("C:/Users/perdue/Desktop/Adv. MicroEconometrics/HA 3/data/read1.sas", header= FALSE, skip = 1, sep = ",", dec=".")</code> code from the console into the <code>R2b_Michael.Rmd</code>file using a short-cut key. </p>