set separator ';' in write.csv
<p>I have the following code:</p>

<pre><code>myTable[i,] = strsplit(line, split=";")[[1]]
write.csv(myTable[-1,], file="episodes_cleared.csv", sep=";", row.names=FALSE, quote=FALSE)
</code></pre>

<p>Unfortunately, the separator still is ',':</p>

<pre><code>iEpisodeId,iPatientId,sTitle,sICPc,dStart,dEnd,bProblem
</code></pre>

<p>Running the code gives me:</p>

<p>Warning messages:</p>

<pre><code>1: In write.csv(myTable[-1, ], file = "episodes_cleared.csv", sep = ";",  : attempt to set 'sep' ignored
2: In write.csv(myTable[-1, ], file = "episodes_cleared.csv", sep = ";",  :
</code></pre>

<p>attempt to set 'sep' ignored  </p>

<p>What am I doing wrong?</p>