title: How to retrieve an R-output saved in a txt file
body: <p>Here is my problem. Suppose you fitted a simple regression model in R.</p>
  
  <pre><code>n &lt;- 100
  x &lt;- runif(n)
  y &lt;- rnorm(n)
  TheModel &lt;- lm(y ~ x)
  </code></pre>
  
  <p>Suppose you saved the estimated coefficients and the residuals as a two-elements list in a txt file with the command capture.output in a specific location in your computer (e.g., the desktop). </p>
  
  <p><strong>Problem:</strong> How can you retrieve that two-elements list when using another R-session? Thanks a lot for your help.</p>