title: what is the difference between 'abs' function in R and sparkR
body: <p>in sparkR API there are functions with the same name as in R. Some of the examples are <code>abs,cosine</code> functions.</p>
  
  <p>What is the difference between abs function in R and in sparkR. when does the abs function get executed in spark?</p>
  
  <p>documentation for sparkR abs function
  <a href="http://spark.apache.org/docs/latest/api/R/abs.html" rel="nofollow">http://spark.apache.org/docs/latest/api/R/abs.html</a></p>