Re: [R] Error using Rmetrics to read data

2008-01-24 Thread Henrique Dallazuanna
; -Original Message- > From: Henrique Dallazuanna [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 24, 2008 2:02 PM > To: Kerpel, John > Cc: r-help@r-project.org > Subject: Re: [R] Error using Rmetrics to read data > > SP500$Date <- as.character(as.Date(as.character(S

Re: [R] Error using Rmetrics to read data

2008-01-24 Thread Kerpel, John
llazuanna [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 2:02 PM To: Kerpel, John Cc: r-help@r-project.org Subject: Re: [R] Error using Rmetrics to read data SP500$Date <- as.character(as.Date(as.character(SP500$Date), "%m/%d/%y")) SP500<-as.timeSeries(SP500) On 24/01/

Re: [R] Error using Rmetrics to read data

2008-01-24 Thread Henrique Dallazuanna
SP500$Date <- as.character(as.Date(as.character(SP500$Date), "%m/%d/%y")) SP500<-as.timeSeries(SP500) On 24/01/2008, Kerpel, John <[EMAIL PROTECTED]> wrote: > Hi folks. This set of code used to work, but after upgrading to the > latest version of Rmetrics it no longer does. Any ideas? > > > > SP

[R] Error using Rmetrics to read data

2008-01-24 Thread Kerpel, John
Hi folks. This set of code used to work, but after upgrading to the latest version of Rmetrics it no longer does. Any ideas? SP500<-read.table("SP500.csv",header=TRUE,sep=",") > head(SP500) DateOpenHigh Low Close Volume Close2 1 8/4/2006 1280.26 1292.92 1273.82 1