title: parSapply with 2 arguments
body: <p>Is there any posibility to pass 2 arguments throught <code>parSapply</code> <code>parallel</code> function, using library <code>parallel</code> in R?</p>
  
  <p>I have tried with: </p>
  
  <pre><code>var2 &lt;- c(10,20,30)
  myfunction&lt;-function(var1,var2){
  mean(rnorm(1000,var1,var2))
  }
  parSapply(cl,1:10,FUN=myfunction,var2=var2)
  </code></pre>
  
  <p>Thanks!
  Jesús</p>