title: Attempt to set "sep" / "dec" ignored: Error in write.csv format - R
body: <p>There are similar posts, but none of them actually explained what is this error cause by?</p>
  
  <p>I would like to obtain input in this .csv format: separator ";" and decimal "." </p>
  
  <pre><code>Parameter;Intensitaet;Wert
  se;1;0.027
  se;1;0.024
  se;1;0.021
  se;1;0.018
  se;1;0.015
  se;1;0.012
  </code></pre>
  
  <p>What I get is: </p>
  
  <pre><code>Parameter;Intensitaet;Wert
  se;2;0,0572
  se;2;0,2
  se;2;0,1
  se;2;0,4
  se;2;0,0795
  </code></pre>
  
  <p>The have tried various versions of this code: </p>
  
  <pre><code>&gt; write.csv(final, "SEmurgang.csv", row.names = F, quote = F, sep = ";")
  Warning message:
  In write.csv(final, "SEmurgang.csv", row.names = F, quote = F, sep = ";") :
    Versuch ignoriert 'sep' zu setzen
  
  &gt; write.csv2(final, "SEmurgang.csv", row.names = F, quote = F, dec=".")
  Warning message:
  In write.csv2(final, "SEmurgang.csv", row.names = F, quote = F,  :
    Versuch ignoriert 'dec' zu setzen
  </code></pre>
  
  <p>However, I always get the same error. How can I fix it?</p>