[R-sig-finance] getReturns problem

Linus Thand pq at wermlands.lu.se
Fri Aug 6 01:13:13 CEST 2004


I am trying to run getReturns on a timeSeries object (azn.ts), but the 
function fails:

 > is.timeSeries(azn.ts)
[1] TRUE
 > foo = getReturns(azn.ts)
Error in getReturns(azn.ts) : couldn't find function "positions"

I am running R 1.9.1 and the latest RMetrics libraries (downloaded 
August 5th).
Can anyone help me with this?


Kind regards,
Linus Thand



More information about the R-sig-finance mailing list