title: How to print the structure of an R object to the console
body: <p>What is the command for printing the structure of R objects so the object can be re-created by running the printed output?</p>
  
  <p>The output often contains the <code>structure</code> function, and you can copy and paste the output into your code in order to easily create an object for a reproducible example.</p>
  
  <p>I'm breaking my head all morning over this command that I ought to know.</p>