title: R - Calculate computational cost of scripts
body: <p>I have two scripts in R with similar algorithms. I would like to compare them by computational cost. How can I do this calculation?</p>
  
  <p>Thanks.</p>
  
  <p>Raúl</p>