title: Pause print of large object when it fills the screen
body: <p>Say I want to print a large object in R, such as</p>
  
  <pre><code>x &lt;- 1:2e3
  </code></pre>
  
  <p>When I print <code>x</code>, the R console fills the screen with its elements and, since it doesn't fit all in the screen, it will scroll down. Then I have to scroll back up to see everything that went off screen.</p>
  
  <p>What I would like is <strong>to have a command that would print <code>x</code> and stop when the screen fills, requiring the user to do something (like press <kbd>enter</kbd>) in order to have another screen full of data displayed</strong>. What I have in mind is something similar to MS DOS's <code>dir /p</code> command. Is there such a thing?</p>
  
  <p>As suggested by @baptiste, <a href="https://stackoverflow.com/a/3837870/1169233">this</a> solution, <code>page(x, method = 'print')</code>, doesn't really solve my problem. To be more clear, what I would like is a solution that wouldn't involve printing the object in another window, as this would disrupt my workflow. If I didn't care for this, I'd just use <code>View()</code> or something similar.</p>