title: How do I stop this a piece of R code from printing the output?
body: <p>I got the below piece of code and it keeps on printing the frequency tables. How do I stop it from doing this.</p>
  
  <pre><code>pl = read.csv("c:/pl.csv")
  freqs =  function(name){ assign(name, table(pl[,name],pl$bad_outcome), envir = .GlobalEnv);} 
  lapply(names(pl), freqs);
  </code></pre>