title: How to load a 4-column table into an xts object?
body: <p>I would like to start learning how to use the xts package, but I am having a hard time loading my data. </p>
  
  <p>The file is is about 6MB and it looks like this:</p>
  
  <pre><code>Date,Time,Price,Size
  02/18/2014,05:06:13,49.6,200
  02/18/2014,05:06:13,49.6,200
  02/18/2014,05:06:13,49.6,200
  02/18/2014,05:06:14,49.6,200
  02/18/2014,05:06:14,49.6,193
  02/18/2014,05:44:41,49.62,100
  02/18/2014,06:26:36,49.52,100
  02/18/2014,06:26:36,49.52,500
  02/18/2014,07:09:29,49.6,100
  02/18/2014,07:56:40,49.56,300
  02/18/2014,07:56:40,49.55,400
  02/18/2014,07:56:41,49.54,200
  02/18/2014,07:56:43,49.55,100
  02/18/2014,07:56:43,49.55,100
  02/18/2014,07:56:50,49.55,100
  02/18/2014,07:57:12,49.53,100
  02/18/2014,07:57:12,49.51,2200
  02/18/2014,07:57:12,49.51,100
  02/18/2014,07:57:12,49.5,200
  </code></pre>
  
  <p>Here is the line of code I tried and the error I got:</p>
  
  <pre><code>data1&lt;-as.xts(read.zoo("EKSO_0.txt",header = T,sep=",",format="%m/%d/%Y"))
  </code></pre>
  
  <p>The error I got:</p>
  
  <pre><code>Warning message:
  In zoo(rval3, ix) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not   unique
  </code></pre>
  
  <p>How can I load the "Time" column as well?</p>
  
  <p>Thank you for your help.</p>