title: Executing a bash script in R
body: <p>I have a bash script that runs some loops and exits an CSV file that i use it in my R Function that i write in Rstudio. I want to trigger this bash script with in my R Function in Rstudio. </p>
  
  <p>Example bash script generating out.csv :</p>
  
  <pre><code>#!/bin/bash
  echo "Hello,People" &gt;&gt; out.csv
  </code></pre>
  
  <p>How i am using it in my R script:</p>
  
  <pre><code>outinfo = read.csv(file = "out.csv" , header = TRUE )
  </code></pre>