title: Replacing character values with NA in a data frame
body: <p>I have a data frame containing (in random places) a character value (say <code>"foo"</code>) that I want to replace with a <code>NA</code>.</p>
  
  <p>What's the best way to do so across the whole data frame?</p>