title: R -- Editing the 'nnet' Package
body: <p>I am trying to edit the R 'nnet' package.  I have done some poking around, but am unfamiliar enough with R itself so as to not be able to make any headway.</p>
  
  <p>I have tried <code>trace("nnet", edit=TRUE)</code>, as outlined in a previous post <a href="https://stackoverflow.com/questions/3384598/how-to-edit-and-debug-r-library-sources">here</a>.  This results in the editor being opened and displaying:</p>
  
  <pre><code>       function (x, ...) 
         UseMethod("nnet")
  </code></pre>
  
  <p>I'm not entirely sure what to do with this...</p>
  
  <p>I've also found that it is part of the "VR Bundle"; it has been suggested <a href="http://r.789695.n4.nabble.com/How-to-see-source-code-of-nnet-package-td838773.html" rel="nofollow noreferrer">here</a> that the source bundle be opened to view the code, but don't know a) how to go about doing this or b) if that would achieve anything as I would then need to modify and run the code..</p>
  
  <p>My goal is to add/modify a parameter <code>minIt</code> that would insure a minimum number of epochs be achieved prior to termination of the training.</p>
  
  <p>Thanks!</p>