title: Boolean operators && and ||
body: <p>According to the <a href="https://cran.r-project.org/doc/manuals/r-release/R-lang.html#Operators" rel="noreferrer">R language definition</a>, the difference between <code>&amp;</code> and <code>&amp;&amp;</code> (correspondingly <code>|</code> and <code>||</code>) is that the former is vectorized while the latter is not.</p>
  
  <p>According to <a href="https://stat.ethz.ch/R-manual/R-devel/library/base/html/Logic.html" rel="noreferrer">the help text</a>, I read the difference akin to the difference between an "And" and "AndAlso" (correspondingly "Or" and "OrElse")...
  Meaning:
  That not all evaluations if they don't have to be (i.e. A or B or C is always true if A is true, so stop evaluating if A is true)</p>
  
  <p>Could someone shed light here?
  Also, is there an AndAlso and OrElse in R?</p>