Re: [R] How to combine Date and time in one column

2010-11-23 Thread Nikos Rachmanis
Thanks Gabor! Work perfectly! This is the code i used. z <- read.zoo(lines, header = TRUE, index = list(1, 2), FUN = function(d,t) as.POSIXct(paste(date,time), format = "%m/%d/%Y %H:%M")) On Tue, Nov 23, 2010 at 8:07 PM, Gabor Grothendieck wrote: > On Tue, Nov 23, 2010 a

Re: [R] How to combine Date and time in one column

2010-11-23 Thread Nikos Rachmanis
Hi Gabor, Thanks very much for the suggestion. It worked well until the point that i tried to plot the xts object. here is my code and the error message. lines<-data.frame(date,time,open,high, low,close) #create a dataframe with all the variables z <- read.zoo(lines, header = TRUE, index = list(1

Re: [R] Installing Packages

2010-11-10 Thread Nikos Rachmanis
Hi Sue, Try to download the packages through here http://cran.r-project.org/web/packages/ then r/packages/install packages from local zip files if you are running a script do not forget to cal them i hope that helps, N On Wed, Nov 10, 2010 at 12:26 PM,