title: Importing timeSeries from csv file into R with correct dates
body: <p>I have looked all over the internet to find an answer to my problem and failed.</p>
  
  <p>I am using R with the <a href="https://www.rmetrics.org" rel="nofollow">Rmetrics</a> package.</p>
  
  <p>I tried reading my own <code>dataset.csv</code> via the <code>readSeries</code> function but sadly the dates I entered are not imported correctly, now every row has the current date.</p>
  
  <p>I tried using their sample data sets, exported them to csv and re-imported an it creates the same problem.</p>
  
  <p>You can test it using this code:</p>
  
  <pre><code>data &lt;- head(SWX.RET[,1:3])
  write.csv(data, file="myData.csv")
  data2 &lt;- readSeries(file="myData.csv",header=T,sep=",")
  </code></pre>
  
  <p>If you now check the <code>data2</code> time series you will notice that the row date is the current date.</p>
  
  <p>I am confused why this is and what to do to fix it.</p>
  
  <p>Your help is much appreciated!</p>