[R] Monitor() in R2WinBUGS

Uwe Ligges ligges at statistik.uni-dortmund.de
Sun Apr 23 10:52:48 CEST 2006


Doran, Harold wrote:

> I have an array from an mcmc simulation and I'd like to try and use the
> monitor function in R2WinBUGS. The R2WinBUGS package is in the search
> path and when I try help(monitor) the help page appears for the
> function. But, when I try and use it the following happens:


Please read the title of that help page:
"... - intended for internal use only"
hence it is hidden in the package's Namespace and has no examples.

If you really want to use it, you can get it by:

    R2WinBUGS:::monitor(sims)

Uwe Ligges




> 
>>monitor(sims)
> 
> Error: couldn't find function "monitor"
> 
> I've searched the archives but have not seen any issues with this
> posted. The following are also in the search path
> 
> 
>>search()
> 
>  [1] ".GlobalEnv"        "package:R2WinBUGS" "package:BRugs"
> "package:MASS"      "package:methods"  
>  [6] "package:stats"     "package:graphics"  "package:grDevices"
> "package:utils"     "package:datasets" 
> [11] "Autoloads"         "package:base"   
> 
> I've also tried the following just to see what would happen
> 
> 
>>example(monitor)
> 
> Warning message:
> 'monitor' has a help file but no examples file in: example(monitor) 
> 
> Any thoughts on how to reconcile this?
> 
> Harold
>  
> 
> 	[[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




More information about the R-help mailing list