We may have
created an object, discarded it, but the garbage collector hasn’t closed
it yet.</p>
<p>In order to make this process simpler for the end-user,
<strong>close_all</strong> closes the file as well as all objects
associated with the file. Any R6-classes pointing to the object will
automatically be invalidated. This way, if it is needed, the file can be
re-opened again.</p>
<div class="sourceCode" id="cb40"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">file.h