title: From SAS to R - proc sort nodupkey
body: <p>I'm traslating a SAS script to R but I don't know how does SAS work...
  I have this piece of code:</p>
  
  <pre><code>proc sort data=table 
  (keep= Field1 Field2 Field3 Field4 Field5) 
  out=table_nodup nodupkey;
  by Field1 Field2 Field4;
  run;
  </code></pre>
  
  <p>I don't know what the code will do and then I don't know how to translate it to R...any help? :)</p>