Julio Thomas
2005-Dec-04 01:29 UTC
[R] fSeries: garchOxFit - is really the example provided not runnig?
Dear R-helpers, I have just loaded the fSeries package and I wanted to run the example provided in the documentation of garchOxFit but I got the following: > library(fSeries)> ?garchOxFit > library(datasets) > ?garchOxFit > ## Not run: > ## garchOxFit - > # Load Benchmark Data Set: > data(dem2gbp) > x = dem2gbp[, 1] > # Fit GARCH(1,1): > garchOxFit(formula.mean = ~arma(0,0), formula.var = ~garch(1,1))Error in system(command, show.output.on.console = trace, invisible = TRUE) : unused argument(s) (show.output.on.console ...)> ## End(Not run)Does "## Not run:" means the example does not work? Has anybody experienced the same problem? Or may you easly see where am I wrong? Thanks in advance and regards, Julio --------------------------------- [[alternative HTML version deleted]]
Uwe Ligges
2005-Dec-04 11:03 UTC
[R] fSeries: garchOxFit - is really the example provided not runnig?
Julio Thomas wrote:> Dear R-helpers, > > I have just loaded the fSeries package and I wanted to run the example provided in the documentation of garchOxFit but I got the following: > > > library(fSeries) > >>?garchOxFit >>library(datasets) >>?garchOxFit >> ## Not run: >> ## garchOxFit - >> # Load Benchmark Data Set: >> data(dem2gbp) >> x = dem2gbp[, 1] >> # Fit GARCH(1,1): >> garchOxFit(formula.mean = ~arma(0,0), formula.var = ~garch(1,1)) > > Error in system(command, show.output.on.console = trace, invisible = TRUE) : > unused argument(s) (show.output.on.console ...) > >> ## End(Not run)Both "show.output.on.console" and "invisible" are Windows only arguments of system(). This is a bug in the package that needs to be reported to the package maintainer, Diethelm Wuertz (CCing).> Does "## Not run:" means the example does not work?It means that the package meintainer decided not to run this part of the examples by R CMD check, hence it is unchecked (and nobody traced the bug before). Uwe Ligges> Has anybody experienced the same problem? > Or may you easly see where am I wrong? > > Thanks in advance and regards, > Julio > > > --------------------------------- > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html