[R-SIG-Finance] PerformanceAnalytics - Error in UseMethod("time<-")

Heiko Mayer Heiko-Mayer at gmx.de
Sun Jul 12 13:03:32 CEST 2009


Thank you all for the feedback. I was able to replicate the error and I know when it occurs, but have no clue why.
I have installed the latest R version (2.9.1) and libraries PerformanceAnalytics and zoo. Under that environment, "charts.PerformanceSummary" worked. 
However, after installing Rmetrics packages according to "https://wiki.rmetrics.org/install_rmetrics"
   source("http://www.rmetrics.org/Rmetrics.R")
   install.Rmetrics()
it doesn't work anymore when you load library "fPortfolio" (in addition to PerformanceAnalytics and zoo).
Does anyone experienced problems with fPortfolio before?

Below please find the sessionInfo:
R version 2.9.1 (2009-06-26) 
i386-pc-mingw32 

locale:
LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] fPortfolio_2100.77           Rsymphony_0.1-9              Rglpk_0.3-1                  slam_0.1-1                   quadprog_1.4-11             
 [6] fAssets_2100.77              robustbase_0.4-5             fCopulae_2100.76             adapt_1.0-4                  sn_0.4-12                   
[11] mnormt_1.3-3                 fBasics_2100.77              timeSeries_2100.83           timeDate_290.85              MASS_7.2-47                 
[16] PerformanceAnalytics_0.9.7.1 zoo_1.5-6                   

loaded via a namespace (and not attached):
[1] grid_2.9.1      lattice_0.17-25 tools_2.9.1    

Thank you,
Heiko


-------- Original-Nachricht --------
> Datum: Sat, 11 Jul 2009 11:21:30 -0500
> Von: J Ryan <jeff.a.ryan at gmail.com>
> An: Heiko Mayer <Heiko-Mayer at gmx.de>
> CC: "r-sig-finance at stat.math.ethz.ch" <r-sig-finance at stat.math.ethz.ch>
> Betreff: Re: [R-SIG-Finance] PerformanceAnalytics - Error in UseMethod("time<-")

> For PerformanceAnalytics time<- is being defined in the zoo package.
> 
> You haven't included your sessionInfo, so beyond that it's not  
> possible to see where the actual problem is.
> 
> Please post the all the requested info so we can see where conflicts/ 
> issues are occurring.  My guess is a conflict in the use of time from  
> another package.
> 
> Jeff
> 
> Jeffrey A. Ryan
> jeffrey.ryan at insightalgo.com
> 
> ia: insight algorithmics
> www.insightalgo.com
> 
> On Jul 11, 2009, at 9:28 AM, "Heiko Mayer" <Heiko-Mayer at gmx.de> wrote:
> 
> > Hi,
> >
> > I have tried to create the PerformanceSummary chart in  
> > PerformanceAnalytics but always got an error. Even the example  
> > doesn't work showing the same error. I only get german error  
> > messages, but in english it should look like:
> > 'Error in UseMethod("time<-") : no applicable method for "time<-"'
> >
> >> data(edhec)
> >> charts.PerformanceSummary(edhec[,c 
> >> ("Funds.of.Funds","Long.Short.Equity")])
> > Fehler in UseMethod("time<-") : keine anwendbare Methode für "time<-"
> >
> > Has anyone an idea?
> >
> > Thanks,
> > Heiko
> > -- 
> >
> > für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
> >
> > _______________________________________________
> > R-SIG-Finance at stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> > -- Subscriber-posting only.
> > -- If you want to post, subscribe first.

-- 

für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02



More information about the R-SIG-Finance mailing list