title: Calling a function of RPostgreSQL in R
body: <p>I am quite new in R. I am using <code>RPostgreSQL</code> and I would like to utilize a code to automatically write new tables to the DataBAse. I am using this code, but I don't know how I could call it.</p>
  
  <pre><code>ndatatwrit &lt;- list(n25,n28,n29,n31,n32)
  lapply (ndatatwrit, function(i) {dbWriteTable (con,"i",ndatatwrit[[i]],overwrit)})
  </code></pre>
  
  <p>where <code>n25</code>,<code>n28</code>,<code>n29</code>,<code>n31</code>,<code>n32</code> are new tables.</p>