Re: [R] Loading Intraday Time Series Data

2010-05-16 Thread John Kane
t;, mydata[,2]) mydates <- strptime(df1, "%d/%m/%Y %H%M") --- On Sun, 5/16/10, Steve Johns wrote: > From: Steve Johns > Subject: [R] Loading Intraday Time Series Data > To: r-help@r-project.org > Received: Sunday, May 16, 2010, 7:22 AM > Hi, > &

Re: [R] Loading Intraday Time Series Data

2010-05-16 Thread Gabor Grothendieck
In zoo the index= argument to read.zoo can be a vector of column indices to indicate that the time is split across multiple columns and the FUN= argument can be used to process the multiple columns. In this example the resulting z uses chron: L <- "Date,Time,Open,High,Low,Close,Up,Down 05/02/200

[R] Loading Intraday Time Series Data

2010-05-16 Thread Steve Johns
Hi, I am trying to load a data file that looks like this: |Date,Time,Open,High,Low,Close,Up,Down 05/02/2001,0030,421.20,421.20,421.20,421.20,11,0 05/02/2001,0130,421.20,421.40,421.20,421.40,7,0 05/02/2001,0200,421.30,421.30,421.30,421.30,0,5 05/02/2001,0230,421.60,421.60,421.50,421.50,26,1| etc.