title: Using a data.frame to update another (character vectors)
body: <p>I have read over the responses to this question:</p>
  
  <p><a href="https://stackoverflow.com/questions/7971513/using-one-data-frame-to-update-another">Using one data.frame to update another</a></p>
  
  <p>And the answers seem to work, but only for integers. I am trying to update a certain data frame, called "original":</p>
  
  <pre><code>original = data.frame( Name = c("Drug A","Drug B") , Id = c( 1 , 2) , Value1 = c("Yellow",NA), Value2 = c(NA,"Blue") )
  </code></pre>
  
  <p>With a replacement data.frame that will overwrite some values:</p>
  
  <pre><code>replacement = data.frame( Name = c("Drug B") , Id = 2 , Value1 = "Red" , Value2 = "Orange")
  </code></pre>
  
  <p>And should end up looking like this:</p>
  
  <pre><code>goal = data.frame( Name = c("Drug A","Drug B") , Id = c( 1 , 2) , Value1 = c("Yellow","Red"), Value2 = c(NA,"Orange") )
  </code></pre>
  
  <p>Like the previous question, the solution should work for tables of arbitrary length and/or size. Any thoughts?</p>