Re: [Rd] R command line behaving funny

2009-08-25 Thread Yohan Chalabi
"AB" == Abhijit Bera on Tue, 25 Aug 2009 18:22:59 +0530 AB> Hi AB> AB> I am unable to try out examples from the Rmetrics Ebook from AB> the R command AB> prompt. Below is an example of what happens: AB> AB> > Covariance<-cov(SWX.RET) AB> Error in cov.timeSeries(S

[Rd] R command line behaving funny

2009-08-25 Thread Abhijit Bera
Hi I am unable to try out examples from the Rmetrics Ebook from the R command prompt. Below is an example of what happens: > Covariance<-cov(SWX.RET) Error in cov.timeSeries(SWX.RET) : no slot of name "Data" for this object of class "timeSeries" I have loaded Rmetrics and fPortfolio using the