Why .RData when .R is sufficient : <p>Say, if we can save and load an exact same data from <code>.R</code> files, then why came the need for <code>.RData</code>. I tried figuring out some explanation from <a href="https://stat.ethz.ch/pipermail/r-help/2003-October/039909.html" rel="nofollow noreferrer">[R] foo.RData or foo.r?</a>. So, I stumbled upon few queries:</p>

<ul>
<li>Does <code>.RData</code> <strong>saves</strong> <strong>only final result</strong> or complete code just a <code>.R</code> scripts?</li>
<li>What is their exact relevance? Which one to prefer over other and when?</li>
</ul>
