title: Call R notebooks on Databricks from second R notebook
body: <p>I try to call a R notebook on Databricks while passing parameters using <code>spark-submit</code>.</p>
  
  <p>My approach looks like this:</p>
  
  <pre><code>com &lt;- "spark-submit foo.R p1 &amp; spark-submit foo.R p2"
  system(com)
  </code></pre>
  
  <p>This should call the script <code>foo.R</code>and hand over the parameter <code>p1</code>.</p>
  
  <p>This returns:</p>
  
  <pre><code> sh: 1: spark-submit: not found
   sh: 1: spark-submit: not found
  </code></pre>
  
  <p>I would expect that this submits the two jobs to the Spark cluster. Any help what I am missing? Thanks!</p>