title: [[.default`(object, name, exact = TRUE) : subscript out of bounds exception. in Update() - R
body: <p>I am trying to build a KNN model in r. I am aware of load/save/update functions to reuse an existing saved .rda model. However, when i load the knn model and try update the model , i get an Error in update() <code>[[.default</code>(object, name, exact = TRUE) : subscript out of bounds exception.</p>
  
  <pre><code>load("knn.rda")
  m11 &lt;- update( m1, data =train_n )
  </code></pre>