Hi Gabor, please see the attached files which is in text format. I have opened them on excel then, used clipboard to load them into R. Still really unclear what to do.
Also can you please elaborate this term "index = list(1, 2), FUN = function(d, t) as.POSIXct(paste(d, t))" in your previous file? In help, it is given that:"If FUN is specified then read.zoo calls FUN with the index as the first argument". I really could not connect your syntax with help. --- On Sat, 10/16/10, Gabor Grothendieck <ggrothendi...@gmail.com> wrote: > From: Gabor Grothendieck <ggrothendi...@gmail.com> > Subject: Re: [R] Problem with merging two zoo objects > To: "Megh Dal" <megh700...@yahoo.com> > Cc: r-h...@stat.math.ethz.ch > Date: Saturday, October 16, 2010, 12:11 AM > On Fri, Oct 15, 2010 at 2:20 PM, Megh > Dal <megh700...@yahoo.com> > wrote: > > Dear all, I have following 2 zoo objects. However when > I try to merge those 2 objects into one, nothing is coming > as intended. Please see below the objects as well as the > merged object: > > > > > >> dat11 > > V2 V3 V4 V5 > > 2010-10-15 13:43:54 73.8 73.8 73.8 73.8 > > 2010-10-15 13:44:15 73.8 73.8 73.8 73.8 > > 2010-10-15 13:45:51 73.8 73.8 73.8 73.8 > > 2010-10-15 13:46:21 73.8 73.8 73.8 73.8 > > 2010-10-15 13:47:27 73.8 73.8 73.8 73.8 > > 2010-10-15 13:47:54 73.8 73.8 73.8 73.8 > > 2010-10-15 13:49:51 73.7 73.7 73.7 73.7 > >> dat22 > > V2 V3 V4 V5 > > 2010-10-15 12:09:12 74.0 74.0 74.0 74.0 > > 2010-10-15 12:09:33 73.9 73.9 73.9 73.9 > > 2010-10-15 12:20:36 74.0 74.0 74.0 74.0 > > 2010-10-15 12:30:36 74.0 74.0 74.0 74.0 > > 2010-10-15 12:41:03 73.7 73.7 73.7 73.7 > >> merge(dat11, dat22) > > V2.dat11 V3.dat11 > V4.dat11 V5.dat11 V2.dat22 V3.dat22 V4.dat22 V5.dat22 > > 2010-10-15 12:09:12 NA NA > NA NA NA NA NA > NA > > 2010-10-15 12:09:33 NA NA > NA NA NA NA NA > NA > > 2010-10-15 13:43:54 NA NA > NA NA NA NA NA > NA > > 2010-10-15 13:44:15 NA NA > NA NA NA NA NA > NA > > 2010-10-15 13:45:51 NA NA > NA NA NA NA NA > NA > > 2010-10-15 13:46:21 NA NA > NA NA NA NA NA > NA > > 2010-10-15 13:47:27 NA NA > NA NA NA NA NA > NA > > 2010-10-15 13:47:54 NA NA > NA NA NA NA NA > NA > > 2010-10-15 13:49:51 NA NA > NA NA NA NA NA > NA > > Warning messages: > > 1: In MATCH(x, x) == seq_len(length(x)) : > > longer object length is not a multiple of shorter > object length > > 2: In MATCH(x, x) == seq_len(length(x)) : > > longer object length is not a multiple of shorter > object length > > > > If somebody points me whether I went wrong, it would > be really great. > > > > If I try it then it works properly so there is likely > something wrong > with your dat11 and dat22 objects. If you provide the > problem > reproducibly one might be able to say more. > > > Lines1 <- "Date Time > V2 V3 V4 V5 > + 2010-10-15 13:43:54 73.8 73.8 73.8 73.8 > + 2010-10-15 13:44:15 73.8 73.8 73.8 73.8 > + 2010-10-15 13:45:51 73.8 73.8 73.8 73.8 > + 2010-10-15 13:46:21 73.8 73.8 73.8 73.8 > + 2010-10-15 13:47:27 73.8 73.8 73.8 73.8 > + 2010-10-15 13:47:54 73.8 73.8 73.8 73.8 > + 2010-10-15 13:49:51 73.7 73.7 73.7 73.7" > > > > Lines2 <- "Date Time > V2 V3 V4 V5 > + 2010-10-15 12:09:12 74.0 74.0 74.0 74.0 > + 2010-10-15 12:09:33 73.9 73.9 73.9 73.9 > + 2010-10-15 12:20:36 74.0 74.0 74.0 74.0 > + 2010-10-15 12:30:36 74.0 74.0 74.0 74.0 > + 2010-10-15 12:41:03 73.7 73.7 73.7 73.7" > > > > library(zoo) > > dat1 <- read.zoo(textConnection(Lines1), header = > TRUE, > + index = list(1, 2), FUN = function(d, t) > as.POSIXct(paste(d, t))) > Warning messages: > 1: closing unused connection 8 (Lines2) > 2: closing unused connection 7 (Lines1) > 3: closing unused connection 5 (Lines2) > 4: closing unused connection 4 (Lines1) > 5: closing unused connection 3 (Lines2) > > dat2 <- read.zoo(textConnection(Lines2), header = > TRUE, > + index = list(1, 2), FUN = function(d, t) > as.POSIXct(paste(d, t))) > > merge(dat1, dat2) > > V2.dat1 V3.dat1 V4.dat1 V5.dat1 V2.dat2 > V3.dat2 > V4.dat2 V5.dat2 > 2010-10-15 12:09:12 NA > NA NA > NA 74.0 74.0 > 74.0 74.0 > 2010-10-15 12:09:33 NA > NA NA > NA 73.9 73.9 > 73.9 73.9 > 2010-10-15 12:20:36 NA > NA NA > NA 74.0 74.0 > 74.0 74.0 > 2010-10-15 12:30:36 NA > NA NA > NA 74.0 74.0 > 74.0 74.0 > 2010-10-15 12:41:03 NA > NA NA > NA 73.7 73.7 > 73.7 73.7 > 2010-10-15 13:43:54 73.8 > 73.8 73.8 73.8 > NA NA > NA NA > 2010-10-15 13:44:15 73.8 > 73.8 73.8 73.8 > NA NA > NA NA > 2010-10-15 13:45:51 73.8 > 73.8 73.8 73.8 > NA NA > NA NA > 2010-10-15 13:46:21 73.8 > 73.8 73.8 73.8 > NA NA > NA NA > 2010-10-15 13:47:27 73.8 > 73.8 73.8 73.8 > NA NA > NA NA > 2010-10-15 13:47:54 73.8 > 73.8 73.8 73.8 > NA NA > NA NA > 2010-10-15 13:49:51 73.7 > 73.7 73.7 73.7 > NA NA > NA NA > > -- > Statistics & Software Consulting > GKX Group, GKX Associates Inc. > tel: 1-877-GKX-GROUP > email: ggrothendieck at gmail.com >
,data.open,data.high,data.low,data.close 10/15/2010 13:49:51,73.70,73.70,73.70,73.70 10/15/2010 13:47:54,73.80,73.80,73.80,73.80 10/15/2010 13:47:27,73.80,73.80,73.80,73.80 10/15/2010 13:46:21,73.80,73.80,73.80,73.80 10/15/2010 13:45:51,73.80,73.80,73.80,73.80 10/15/2010 13:44:15,73.80,73.80,73.80,73.80 10/15/2010 13:43:54,73.80,73.80,73.80,73.80 10/15/2010 13:42:51,73.80,73.80,73.80,73.80 10/15/2010 13:42:39,73.80,73.80,73.80,73.80 10/15/2010 13:42:27,73.70,73.70,73.70,73.70 10/15/2010 13:42:24,73.75,73.75,73.75,73.75 10/15/2010 13:42:00,73.70,73.70,73.70,73.70 10/15/2010 13:41:54,73.65,73.65,73.65,73.65 10/15/2010 13:41:27,73.60,73.60,73.60,73.60 10/15/2010 13:40:51,73.60,73.60,73.60,73.60 10/15/2010 13:37:18,73.60,73.60,73.60,73.60 10/15/2010 13:36:57,73.55,73.55,73.55,73.55 10/15/2010 13:36:42,73.55,73.55,73.55,73.55 10/15/2010 13:36:36,73.55,73.55,73.55,73.55 10/15/2010 13:36:33,73.50,73.50,73.50,73.50 10/15/2010 13:35:57,73.50,73.50,73.50,73.50 10/15/2010 13:35:30,73.45,73.45,73.45,73.45 10/15/2010 13:35:03,73.50,73.50,73.50,73.50 10/15/2010 13:34:45,73.50,73.50,73.50,73.50 10/15/2010 13:34:30,73.55,73.55,73.55,73.55 10/15/2010 13:33:39,73.50,73.50,73.50,73.50 10/15/2010 13:33:12,73.50,73.50,73.50,73.50 10/15/2010 13:33:00,73.50,73.50,73.50,73.50 10/15/2010 13:30:24,73.45,73.45,73.45,73.45 10/15/2010 13:29:45,73.50,73.50,73.50,73.50 10/15/2010 13:24:03,73.50,73.50,73.50,73.50 10/15/2010 13:23:54,73.60,73.60,73.60,73.60 10/15/2010 13:23:51,73.60,73.60,73.60,73.60 10/15/2010 13:22:30,73.45,73.45,73.45,73.45 10/15/2010 13:19:36,73.55,73.55,73.55,73.55 10/15/2010 13:19:30,73.50,73.50,73.50,73.50 10/15/2010 13:18:27,73.45,73.45,73.45,73.45 10/15/2010 13:10:57,73.35,73.35,73.35,73.35 10/15/2010 13:10:45,73.45,73.45,73.45,73.45 10/15/2010 13:10:45,73.45,73.45,73.45,73.45 10/15/2010 13:08:45,73.40,73.40,73.40,73.40 10/15/2010 13:08:18,73.25,73.25,73.25,73.25 10/15/2010 13:06:51,73.40,73.40,73.40,73.40 10/15/2010 13:05:24,73.45,73.45,73.45,73.45 10/15/2010 13:04:42,73.40,73.40,73.40,73.40 10/15/2010 13:04:27,73.40,73.40,73.40,73.40 10/15/2010 13:04:15,73.30,73.30,73.30,73.30 10/15/2010 13:03:48,73.35,73.35,73.35,73.35 10/15/2010 13:00:12,73.45,73.45,73.45,73.45 10/15/2010 12:59:21,73.40,73.40,73.40,73.40 10/15/2010 12:58:27,73.30,73.30,73.30,73.30 10/15/2010 12:56:12,73.35,73.35,73.35,73.35 10/15/2010 12:55:12,73.35,73.35,73.35,73.35 10/15/2010 12:54:24,73.45,73.45,73.45,73.45 10/15/2010 12:53:21,73.35,73.35,73.35,73.35 10/15/2010 12:50:03,73.35,73.35,73.35,73.35 10/15/2010 12:49:18,73.35,73.35,73.35,73.35 10/15/2010 12:48:18,73.30,73.30,73.30,73.30 10/15/2010 12:48:18,73.30,73.30,73.30,73.30 10/15/2010 12:47:30,73.25,73.25,73.25,73.25 10/15/2010 12:47:03,73.20,73.20,73.20,73.20 10/15/2010 12:46:54,73.25,73.25,73.25,73.25 10/15/2010 12:46:36,73.20,73.20,73.20,73.20 10/15/2010 12:45:54,73.20,73.20,73.20,73.20 10/15/2010 12:45:30,73.15,73.15,73.15,73.15 10/15/2010 12:45:03,73.15,73.15,73.15,73.15 10/15/2010 12:43:36,73.25,73.25,73.25,73.25 10/15/2010 12:43:30,73.15,73.15,73.15,73.15 10/15/2010 12:43:09,73.25,73.25,73.25,73.25 10/15/2010 12:42:39,73.20,73.20,73.20,73.20 10/15/2010 12:42:00,73.25,73.25,73.25,73.25 10/15/2010 12:41:48,73.35,73.35,73.35,73.35 10/15/2010 12:41:45,73.20,73.20,73.20,73.20 10/15/2010 12:41:33,73.25,73.25,73.25,73.25 10/15/2010 12:41:09,73.25,73.25,73.25,73.25 10/15/2010 12:41:03,73.30,73.30,73.30,73.30 10/15/2010 12:41:03,73.35,73.35,73.35,73.35 10/15/2010 12:40:57,73.50,73.50,73.50,73.50 10/15/2010 12:38:15,73.55,73.55,73.55,73.55 10/15/2010 12:36:48,73.55,73.55,73.55,73.55 10/15/2010 12:35:30,73.60,73.60,73.60,73.60 10/15/2010 12:30:36,73.70,73.70,73.70,73.70 10/15/2010 12:30:15,73.70,73.70,73.70,73.70 10/15/2010 12:28:51,73.75,73.75,73.75,73.75 10/15/2010 12:27:12,73.65,73.65,73.65,73.65 10/15/2010 12:26:39,73.70,73.70,73.70,73.70 10/15/2010 12:24:42,73.65,73.65,73.65,73.65 10/15/2010 12:23:39,73.70,73.70,73.70,73.70 10/15/2010 12:22:12,73.65,73.65,73.65,73.65 10/15/2010 12:22:09,73.60,73.60,73.60,73.60 10/15/2010 12:20:30,73.70,73.70,73.70,73.70 10/15/2010 12:19:48,73.65,73.65,73.65,73.65 10/15/2010 12:18:33,73.60,73.60,73.60,73.60 10/15/2010 12:13:45,73.50,73.50,73.50,73.50 10/15/2010 12:13:36,73.70,73.70,73.70,73.70 10/15/2010 12:10:36,73.60,73.60,73.60,73.60 10/15/2010 12:09:27,73.65,73.65,73.65,73.65 10/15/2010 12:09:09,73.65,73.65,73.65,73.65 10/15/2010 12:08:15,73.60,73.60,73.60,73.60 10/15/2010 12:06:24,73.60,73.60,73.60,73.60 10/15/2010 12:03:57,73.60,73.60,73.60,73.60 10/15/2010 12:03:36,73.60,73.60,73.60,73.60 10/15/2010 12:01:15,73.60,73.60,73.60,73.60 10/15/2010 12:00:03,73.65,73.65,73.65,73.65 10/15/2010 11:59:54,73.65,73.65,73.65,73.65 10/15/2010 11:58:06,73.70,73.70,73.70,73.70 10/15/2010 11:57:27,73.70,73.70,73.70,73.70 10/15/2010 11:54:06,73.65,73.65,73.65,73.65 10/15/2010 11:53:48,73.75,73.75,73.75,73.75 10/15/2010 11:53:21,73.70,73.70,73.70,73.70 10/15/2010 11:52:27,73.75,73.75,73.75,73.75 10/15/2010 11:51:24,73.70,73.70,73.70,73.70 10/15/2010 11:51:21,73.70,73.70,73.70,73.70 10/15/2010 11:47:24,73.75,73.75,73.75,73.75 10/15/2010 11:45:15,73.85,73.85,73.85,73.85 10/15/2010 11:44:54,73.75,73.75,73.75,73.75 10/15/2010 11:42:09,73.75,73.75,73.75,73.75 10/15/2010 11:41:54,73.75,73.75,73.75,73.75 10/15/2010 11:40:57,73.85,73.85,73.85,73.85 10/15/2010 11:40:27,73.75,73.75,73.75,73.75 10/15/2010 11:39:21,73.70,73.70,73.70,73.70 10/15/2010 11:38:54,73.75,73.75,73.75,73.75 10/15/2010 11:38:45,73.75,73.75,73.75,73.75 10/15/2010 11:37:45,73.80,73.80,73.80,73.80 10/15/2010 11:37:12,73.80,73.80,73.80,73.80 10/15/2010 11:35:18,73.85,73.85,73.85,73.85 10/15/2010 11:34:39,73.90,73.90,73.90,73.90 10/15/2010 11:33:33,73.95,73.95,73.95,73.95 10/15/2010 11:31:48,73.90,73.90,73.90,73.90 10/15/2010 11:30:12,74.00,74.00,74.00,74.00 10/15/2010 11:30:03,73.95,73.95,73.95,73.95 10/15/2010 11:29:24,73.80,73.80,73.80,73.80 10/15/2010 11:29:03,73.85,73.85,73.85,73.85 10/15/2010 11:28:27,73.90,73.90,73.90,73.90 10/15/2010 11:28:21,74.00,74.00,74.00,74.00 10/15/2010 11:28:03,74.00,74.00,74.00,74.00 10/15/2010 11:25:39,74.05,74.05,74.05,74.05 10/15/2010 11:24:21,74.00,74.00,74.00,74.00 10/15/2010 11:24:06,74.00,74.00,74.00,74.00 10/15/2010 11:23:24,74.05,74.05,74.05,74.05 10/15/2010 11:22:30,74.10,74.10,74.10,74.10 10/15/2010 11:19:18,74.10,74.10,74.10,74.10 10/15/2010 11:18:51,74.15,74.15,74.15,74.15 10/15/2010 11:16:09,74.20,74.20,74.20,74.20 10/15/2010 11:15:48,74.10,74.10,74.10,74.10 10/15/2010 11:15:45,74.10,74.10,74.10,74.10 10/15/2010 11:15:27,74.15,74.15,74.15,74.15 10/15/2010 11:15:12,74.20,74.20,74.20,74.20 10/15/2010 11:14:18,74.20,74.20,74.20,74.20 10/15/2010 11:14:00,74.25,74.25,74.25,74.25 10/15/2010 11:13:39,74.30,74.30,74.30,74.30 10/15/2010 11:13:30,74.30,74.30,74.30,74.30 10/15/2010 11:13:24,74.30,74.30,74.30,74.30 10/15/2010 11:13:21,74.30,74.30,74.30,74.30 10/15/2010 11:13:15,74.30,74.30,74.30,74.30 10/15/2010 11:12:57,74.35,74.35,74.35,74.35 10/15/2010 11:12:51,74.40,74.40,74.40,74.40 10/15/2010 11:12:48,74.50,74.50,74.50,74.50 10/15/2010 11:12:45,74.35,74.35,74.35,74.35 10/15/2010 11:12:42,74.30,74.30,74.30,74.30 10/15/2010 11:12:33,74.30,74.30,74.30,74.30 10/15/2010 11:12:27,74.25,74.25,74.25,74.25 10/15/2010 11:11:48,74.15,74.15,74.15,74.15 10/15/2010 11:11:30,74.10,74.10,74.10,74.10 10/15/2010 11:11:21,74.20,74.20,74.20,74.20 10/15/2010 11:10:54,74.10,74.10,74.10,74.10 10/15/2010 11:10:51,74.10,74.10,74.10,74.10 10/15/2010 11:10:42,74.20,74.20,74.20,74.20 10/15/2010 11:10:33,74.20,74.20,74.20,74.20 10/15/2010 11:10:30,74.20,74.20,74.20,74.20 10/15/2010 11:10:09,74.15,74.15,74.15,74.15 10/15/2010 11:09:30,74.15,74.15,74.15,74.15 10/15/2010 11:09:24,74.15,74.15,74.15,74.15 10/15/2010 11:07:12,74.10,74.10,74.10,74.10 10/15/2010 11:06:51,74.25,74.25,74.25,74.25 10/15/2010 11:06:12,74.20,74.20,74.20,74.20 10/15/2010 11:06:09,74.20,74.20,74.20,74.20 10/15/2010 11:05:45,74.25,74.25,74.25,74.25 10/15/2010 11:05:27,74.25,74.25,74.25,74.25 10/15/2010 11:05:21,74.20,74.20,74.20,74.20 10/15/2010 11:05:12,74.25,74.25,74.25,74.25 10/15/2010 11:05:06,74.30,74.30,74.30,74.30 10/15/2010 11:05:06,74.25,74.25,74.25,74.25 10/15/2010 11:05:03,74.25,74.25,74.25,74.25 10/15/2010 11:05:00,74.25,74.25,74.25,74.25 10/15/2010 11:04:51,74.30,74.30,74.30,74.30 10/15/2010 11:04:48,74.35,74.35,74.35,74.35 10/15/2010 11:04:48,74.35,74.35,74.35,74.35 10/15/2010 11:04:42,74.30,74.30,74.30,74.30 10/15/2010 11:04:39,74.20,74.20,74.20,74.20 10/15/2010 11:04:36,74.15,74.15,74.15,74.15 10/15/2010 11:04:12,74.25,74.25,74.25,74.25 10/15/2010 11:04:06,74.25,74.25,74.25,74.25 10/15/2010 11:04:00,74.30,74.30,74.30,74.30 10/15/2010 11:03:54,74.25,74.25,74.25,74.25 10/15/2010 11:03:48,74.25,74.25,74.25,74.25 10/15/2010 11:03:45,74.20,74.20,74.20,74.20 10/15/2010 11:03:45,74.20,74.20,74.20,74.20 10/15/2010 11:03:09,74.20,74.20,74.20,74.20 10/15/2010 11:03:06,74.20,74.20,74.20,74.20 10/15/2010 11:03:03,74.20,74.20,74.20,74.20 10/15/2010 11:02:57,74.20,74.20,74.20,74.20 10/15/2010 11:02:57,74.20,74.20,74.20,74.20 10/15/2010 11:02:51,74.20,74.20,74.20,74.20 10/15/2010 11:02:36,74.10,74.10,74.10,74.10 10/15/2010 11:02:27,74.00,74.00,74.00,74.00 10/15/2010 11:02:09,74.00,74.00,74.00,74.00 10/15/2010 11:01:42,74.00,74.00,74.00,74.00 10/15/2010 11:01:15,74.00,74.00,74.00,74.00 10/15/2010 11:00:12,73.90,73.90,73.90,73.90 10/15/2010 10:58:54,73.85,73.85,73.85,73.85 10/15/2010 10:55:15,73.75,73.75,73.75,73.75 10/15/2010 10:55:06,73.75,73.75,73.75,73.75 10/15/2010 10:54:54,73.75,73.75,73.75,73.75 10/15/2010 10:52:36,73.80,73.80,73.80,73.80 10/15/2010 10:51:39,73.85,73.85,73.85,73.85 10/15/2010 10:50:57,73.80,73.80,73.80,73.80 10/15/2010 10:49:03,73.70,73.70,73.70,73.70 10/15/2010 10:48:00,73.75,73.75,73.75,73.75 10/15/2010 10:45:06,73.75,73.75,73.75,73.75 10/15/2010 10:44:48,73.70,73.70,73.70,73.70 10/15/2010 10:44:15,73.80,73.80,73.80,73.80 10/15/2010 10:40:42,73.90,73.90,73.90,73.90 10/15/2010 10:40:36,73.90,73.90,73.90,73.90 10/15/2010 10:40:30,74.00,74.00,74.00,74.00 10/15/2010 10:40:12,73.90,73.90,73.90,73.90 10/15/2010 10:40:03,73.85,73.85,73.85,73.85 10/15/2010 10:39:48,73.80,73.80,73.80,73.80 10/15/2010 10:39:45,73.80,73.80,73.80,73.80 10/15/2010 10:39:15,73.65,73.65,73.65,73.65 10/15/2010 10:38:42,73.70,73.70,73.70,73.70 10/15/2010 10:38:39,73.70,73.70,73.70,73.70 10/15/2010 10:38:12,73.90,73.90,73.90,73.90 10/15/2010 10:37:57,73.80,73.80,73.80,73.80 10/15/2010 10:37:30,73.85,73.85,73.85,73.85 10/15/2010 10:36:48,73.65,73.65,73.65,73.65 10/15/2010 10:36:39,73.90,73.90,73.90,73.90 10/15/2010 10:36:18,73.60,73.60,73.60,73.60 10/15/2010 10:35:54,73.60,73.60,73.60,73.60 10/15/2010 10:35:45,73.50,73.50,73.50,73.50 10/15/2010 10:35:39,73.45,73.45,73.45,73.45 10/15/2010 10:32:42,73.35,73.35,73.35,73.35 10/15/2010 10:31:33,73.30,73.30,73.30,73.30 10/15/2010 10:31:00,73.15,73.15,73.15,73.15 10/15/2010 10:30:36,73.25,73.25,73.25,73.25 10/15/2010 10:30:33,73.25,73.25,73.25,73.25 10/15/2010 10:30:30,73.25,73.25,73.25,73.25 10/15/2010 10:29:48,73.35,73.35,73.35,73.35 10/15/2010 10:28:36,73.25,73.25,73.25,73.25 10/15/2010 10:21:30,73.40,73.40,73.40,73.40 10/15/2010 10:19:51,73.10,73.10,73.10,73.10 10/15/2010 10:18:15,73.35,73.35,73.35,73.35 10/15/2010 10:14:30,73.40,73.40,73.40,73.40 10/15/2010 10:14:03,73.40,73.40,73.40,73.40 10/15/2010 10:13:42,73.45,73.45,73.45,73.45 10/15/2010 10:13:39,73.35,73.35,73.35,73.35 10/15/2010 10:13:36,73.35,73.35,73.35,73.35 10/15/2010 10:13:15,73.40,73.40,73.40,73.40 10/15/2010 10:12:27,73.45,73.45,73.45,73.45 10/15/2010 10:09:54,73.35,73.35,73.35,73.35 10/15/2010 10:09:39,73.35,73.35,73.35,73.35 10/15/2010 10:09:33,73.45,73.45,73.45,73.45 10/15/2010 10:09:24,73.40,73.40,73.40,73.40 10/15/2010 10:08:00,73.40,73.40,73.40,73.40 10/15/2010 10:07:57,73.45,73.45,73.45,73.45 10/15/2010 10:07:51,73.45,73.45,73.45,73.45 10/15/2010 10:07:33,73.45,73.45,73.45,73.45 10/15/2010 10:02:00,73.50,73.50,73.50,73.50 10/15/2010 9:59:33,73.50,73.50,73.50,73.50 10/15/2010 9:59:15,73.55,73.55,73.55,73.55 10/15/2010 9:59:15,73.55,73.55,73.55,73.55 10/15/2010 9:58:57,73.50,73.50,73.50,73.50 10/15/2010 9:58:39,73.50,73.50,73.50,73.50 10/15/2010 9:58:21,73.50,73.50,73.50,73.50 10/15/2010 9:58:18,73.50,73.50,73.50,73.50 10/15/2010 9:57:45,73.45,73.45,73.45,73.45 10/15/2010 9:56:12,73.45,73.45,73.45,73.45 10/15/2010 9:56:12,73.45,73.45,73.45,73.45 10/15/2010 9:55:30,73.50,73.50,73.50,73.50 10/15/2010 9:54:42,73.50,73.50,73.50,73.50 10/15/2010 9:54:33,73.55,73.55,73.55,73.55 10/15/2010 9:49:18,73.50,73.50,73.50,73.50 10/15/2010 9:48:06,73.45,73.45,73.45,73.45 10/15/2010 9:47:24,73.45,73.45,73.45,73.45 10/15/2010 9:46:54,73.40,73.40,73.40,73.40 10/15/2010 9:45:21,73.50,73.50,73.50,73.50 10/15/2010 9:43:51,73.40,73.40,73.40,73.40 10/15/2010 9:43:15,73.50,73.50,73.50,73.50 10/15/2010 9:42:57,73.50,73.50,73.50,73.50 10/15/2010 9:42:24,73.55,73.55,73.55,73.55 10/15/2010 9:42:12,73.55,73.55,73.55,73.55 10/15/2010 9:42:09,73.55,73.55,73.55,73.55 10/15/2010 9:39:21,73.55,73.55,73.55,73.55 10/15/2010 9:38:27,73.55,73.55,73.55,73.55 10/15/2010 9:38:18,73.60,73.60,73.60,73.60 10/15/2010 9:34:42,73.60,73.60,73.60,73.60 10/15/2010 9:33:18,73.60,73.60,73.60,73.60 10/15/2010 9:33:12,73.60,73.60,73.60,73.60 10/15/2010 9:30:24,73.70,73.70,73.70,73.70 10/15/2010 9:30:03,73.80,73.80,73.80,73.80 10/15/2010 9:29:12,73.80,73.80,73.80,73.80 10/15/2010 9:28:57,73.80,73.80,73.80,73.80 10/15/2010 9:28:45,73.90,73.90,73.90,73.90 10/15/2010 9:28:30,73.85,73.85,73.85,73.85 10/15/2010 9:28:24,73.90,73.90,73.90,73.90 10/15/2010 9:27:48,74.00,74.00,74.00,74.00 10/15/2010 9:26:39,73.95,73.95,73.95,73.95 10/15/2010 9:25:33,73.90,73.90,73.90,73.90 10/15/2010 9:23:48,73.90,73.90,73.90,73.90 10/15/2010 9:23:36,73.95,73.95,73.95,73.95 10/15/2010 9:22:24,74.00,74.00,74.00,74.00 10/15/2010 9:21:39,73.95,73.95,73.95,73.95 10/15/2010 9:21:27,73.95,73.95,73.95,73.95 10/15/2010 9:20:42,73.95,73.95,73.95,73.95 10/15/2010 9:17:12,73.70,73.70,73.70,73.70 10/15/2010 9:16:51,73.70,73.70,73.70,73.70 10/15/2010 9:15:51,73.65,73.65,73.65,73.65 10/15/2010 9:14:39,73.35,73.35,73.35,73.35 10/15/2010 9:14:39,73.40,73.40,73.40,73.40 10/15/2010 9:14:30,73.40,73.40,73.40,73.40 10/15/2010 9:13:54,73.45,73.45,73.45,73.45 10/15/2010 9:13:48,73.45,73.45,73.45,73.45 10/15/2010 9:13:48,73.45,73.45,73.45,73.45 10/15/2010 9:13:21,73.50,73.50,73.50,73.50 10/15/2010 9:12:57,73.50,73.50,73.50,73.50 10/15/2010 9:12:48,73.55,73.55,73.55,73.55 10/15/2010 9:12:39,73.65,73.65,73.65,73.65 10/15/2010 9:12:36,73.50,73.50,73.50,73.50 10/15/2010 9:12:27,73.55,73.55,73.55,73.55 10/15/2010 9:12:15,73.50,73.50,73.50,73.50 10/15/2010 9:11:57,73.50,73.50,73.50,73.50 10/15/2010 9:11:39,73.45,73.45,73.45,73.45 10/15/2010 9:11:36,73.45,73.45,73.45,73.45 10/15/2010 9:10:45,73.25,73.25,73.25,73.25 10/15/2010 9:10:42,73.40,73.40,73.40,73.40 10/15/2010 9:10:39,73.50,73.50,73.50,73.50 10/15/2010 9:10:36,73.55,73.55,73.55,73.55 10/15/2010 9:08:57,73.85,73.85,73.85,73.85 10/15/2010 9:08:51,73.90,73.90,73.90,73.90 10/15/2010 9:08:21,73.85,73.85,73.85,73.85 10/15/2010 9:08:18,73.90,73.90,73.90,73.90 10/15/2010 9:07:57,73.95,73.95,73.95,73.95 10/15/2010 9:07:57,73.95,73.95,73.95,73.95 10/15/2010 9:07:48,74.00,74.00,74.00,74.00 10/15/2010 9:07:45,74.00,74.00,74.00,74.00 10/15/2010 9:07:39,74.00,74.00,74.00,74.00 10/15/2010 9:07:24,74.00,74.00,74.00,74.00 10/15/2010 9:07:15,74.00,74.00,74.00,74.00 10/15/2010 9:07:06,74.00,74.00,74.00,74.00 10/15/2010 9:07:00,74.00,74.00,74.00,74.00 10/15/2010 9:06:15,74.00,74.00,74.00,74.00 10/15/2010 9:06:09,74.00,74.00,74.00,74.00 10/15/2010 9:05:57,74.00,74.00,74.00,74.00 10/15/2010 9:05:33,73.95,73.95,73.95,73.95 10/15/2010 9:05:06,74.00,74.00,74.00,74.00 10/15/2010 9:05:00,74.00,74.00,74.00,74.00 10/15/2010 9:04:36,74.00,74.00,74.00,74.00 10/15/2010 9:04:33,73.95,73.95,73.95,73.95 10/15/2010 9:03:51,74.00,74.00,74.00,74.00 10/15/2010 9:03:51,74.00,74.00,74.00,74.00 10/15/2010 9:03:09,73.90,73.90,73.90,73.90 10/15/2010 9:02:15,74.00,74.00,74.00,74.00 10/15/2010 9:02:00,74.05,74.05,74.05,74.05 10/15/2010 9:01:36,74.25,74.25,74.25,74.25 10/15/2010 9:01:30,74.25,74.25,74.25,74.25 10/15/2010 9:01:27,74.20,74.20,74.20,74.20 10/15/2010 9:01:21,74.35,74.35,74.35,74.35 10/15/2010 9:01:15,74.30,74.30,74.30,74.30 10/15/2010 9:00:24,74.35,74.35,74.35,74.35
,data.open,data.high,data.low,data.close 10/15/2010 12:41:03,73.70,73.70,73.70,73.70 10/15/2010 12:30:36,74.00,74.00,74.00,74.00 10/15/2010 12:20:36,74.00,74.00,74.00,74.00 10/15/2010 12:09:33,73.90,73.90,73.90,73.90 10/15/2010 12:09:12,74.00,74.00,74.00,74.00 10/15/2010 12:00:03,74.00,74.00,74.00,74.00 10/15/2010 11:52:27,74.05,74.05,74.05,74.05 10/15/2010 11:30:12,74.35,74.35,74.35,74.35 10/15/2010 11:12:48,74.70,74.70,74.70,74.70 10/15/2010 11:02:27,74.25,74.25,74.25,74.25 10/15/2010 10:59:00,74.10,74.10,74.10,74.10 10/15/2010 10:51:39,74.20,74.20,74.20,74.20 10/15/2010 10:44:48,74.05,74.05,74.05,74.05 10/15/2010 10:35:36,73.75,73.75,73.75,73.75 10/15/2010 10:19:51,73.50,73.50,73.50,73.50 10/15/2010 9:17:12,74.00,74.00,74.00,74.00 10/15/2010 9:10:36,73.95,73.95,73.95,73.95
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.