title: Why only one column is generated after write.csv from a complex data frame in R?
body: <p>I want to export the data frame I generated with R into a csv file. However, this code gives me the whole data frame into only one column:</p>
  
  <pre><code>   tableausublist &lt;- read.csv("donnees/sublist.csv", header=TRUE, sep=";")
     fusion &lt;- merge.data.frame(x=tableaucleanIPTAFXwoNA,
     y=tableausublist, by.x="Description", by.y="protein", all =FALSE)
  
     tableauIPTAFXreorder &lt;-fusion[,c('complex','Accession.x','Description', 'meanNSAF','SDNSAF')]
     write.csv(tableauIPTAFXreorder,"IPID.csv")
  </code></pre>