title: What is the difference between NaN and Inf, and NULL and NA in R?
body: <p>What is the difference between NaN and Inf, and NULL and NA in R?</p>
  
  <p>Why <code>?NA</code> and <code>?NULL</code> tell me that "NA" has a length of "1" whereas NULL has a length of "0"?</p>