Skip to content
Back to formatted view

Raw Message

Message-ID: <4392CCF0.7060201@statistik.uni-dortmund.de>
Date: 2005-12-04T11:03:12Z
From: Uwe Ligges
Subject: fSeries: garchOxFit - is really the example provided not runnig?
In-Reply-To: <20051204012952.29399.qmail@web26604.mail.ukl.yahoo.com>

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