title: Delimiters while writing csv files in R
body: <p>How can I use <code>|</code>(pipe) as a delimiter while writing csv files in R?</p>
  
  <p>When I try writing a data set into a file with <code>write.csv</code> with <code>sep = "|"</code>, it ignores the separator and writes the file simply as a comma separated file.</p>
  
  <p>Also <code>write.csv2</code> also doesn't seem to cover the other variety of characters which could be used as a separator.</p>
  
  <p>Is there a way to use other characters such as ^, $, ~, ¬ or |, as a delimiter while writing a csv file in R.</p>
  
  <p>Thanks.</p>