title: R Shiny unsource sourced files
body: <p>One of the powers of <strong>R / Shiny</strong> is the posiblity to <strong>"source" a other R file</strong> in the R code. I am doing this dynamicly so in the end there are a lot of sourced files. So far so good.</p>
  
  <pre><code>FileToSource &lt;- paste("Folder/",df$filename,".R", sep = "")
  source(FileToSource, chdir=T)
  
  unsource(......) ???
  </code></pre>
  
  <p>But at some point i want to clean up. I can delete variables etc. but can i <strong>"unsource"</strong> the previously <strong>"sourced"</strong> files ?</p>
  
  <p>I have been looking for code of a way to do this but no luck up till now.</p>
  
  <p>You can wonder <strong>if it is nessesary to "unsource"</strong> files but i like to <strong>clean up</strong> once in a while and this can be part of it. Less chance of <strong>conflicting code</strong> etc...</p>
  
  <p>Suggestions ? </p>
  
  <p><strong>Thanks in advance</strong>, if i find a way i'll post it here too</p>