Displaying 20 results from an estimated 1000 matches similar to: "R2WinBUGS help"
2009 Jul 07
1
R2WinBUGS under Linux/WINE fails
Hi,
I'm running wine-1.0.1, OpenBUGS 3.0.3, R 2.9.0, and R2WinBUGS on a Redhat
Enterprise Linux machine.
Following various peoples' suggestions...
This works perfectly (yay!): wine Z:/opt/OpenBUGS/winbugs.exe
Within R, however, I get this:
(setup the example from ?bugs, then....)
R> schools.sim <- bugs(data, inits, parameters, model.file, n.chains=3,
2007 Nov 23
2
R2winBUGS & WinBUGS gui
I am trying to figure out if it is possible to run winBUGS from within
R, using R2winBUGS, without having winBUGS spawn any windows (basically
- 'true' batch - no GUI actions at all). The reason being I have a
machine which I (and several others) ssh/telnet into, and would like to
run winBUGS without having to mount a virtual desktop of any kind.
I've looked through the r2winBUGS
2011 Oct 20
1
Are they fully identical: WinBUGS and OpenBUGS; R2WinBUGS and R2OpenBUGS
Hello ALL!
I am running Linux, Fedora 15 64-bits, and R on it. I need to use
WinBUGS and R2WinBUGS, but as far as I read, WinBUGS is closed project,
to be continued with/as OpenBUGS. Thus, I have found R2OpenBUGS on
OpenBUGS Contributed Code (http://openbugs.info/w/UserContributedCode),
not on CRAN. Author(s) states that it is equivalent for R2WinBUGS. I
tried briefly, and realized few minor
2009 Nov 03
2
R2WinBUGS not working?
This weekend I noticed that my R2WinBUGS connection was no longer working on
my Windows computer at work AND my Ubuntu linux computer at home. As soon
as WinBUGS opens, the message reads Index Out Of Range. I have un-installed
and re-installed R on both computers and the problem remains the same. At
first I thought it was the new version of R, but I was able to overcome the
problem (on Windows
2008 Dec 31
3
WinBUGS posterior samples (via R2WinBUGS)?
Hi all,
I did some analysis using package R2WinBUGS to call WinBUGS. I set the
iterations to 50000 (fairly a large number, I think), but after the program
was done, the effective posterior samples contained only 7 draws. I don't
know why.
By the way, I checked posterior sample size by using bugsobj$n.sims. And,
for my previous practice with WinBUGS/R2WinBUGS, no such strange thing
happend.
2006 Jan 16
3
Current state of support for BUGS access for Linux users?
Greetings:
I'm going to encourage some students to try Bayesian ideas for
hierarchical models.
I want to run the WinBUGS and R examples in Tony Lancaster's An
Introduction to Modern Bayesian Econometrics. That features MS
Windows and "bugs" from R2WinBUGS.
Today, I want to ask how people are doing this in Linux? I have found
a plethora of possibilities, some of which are not
2009 Oct 06
2
R, Coda, and OpenBUGS
Hi All,
I am trying to figure out how to use R-Coda with the output from
OpenBugs. I have installed and loaded the packages BRugs and R2WinBUGS.
I have successfully run a simple Bayes model in WinBUGS using R2WinBUGS'
"bugs" and have used "read.bugs" to build the coda object. I can
successfully switch to OpenBugs and run the same model and get the basic
summary
2005 Jul 19
1
Using BRugs, in FUN: .C(..) 'type' not "real"
To All,
I am using the BRugs package. In running the meta file BRugsFit() with a
syntactically correct model .txt file, I see the message:
Error in FUN(X[[1]], ...) : .C(..): 'type' must be "real" for this format
I haven't found information on this kind of error either here or on the
OpenBUGS/WinBUGS/BRugs bulletin boards. If there is a better place to post
this
2009 Feb 17
2
How to connect R and WinBUGS/OpenBUGS/LinBUGS in Linux in Feb. 2009
Hi all,
I've managed to get JAGS working on my Ubuntu Hardy Linux with a 32-bit
computer and AMD processors using R 2.8.1. JAGS is great. I've read that
JAGS is the fastest, but that hasn't been my experience. At any rate, I
have more experience with WinBUGS under Windows and would like a version of
that working as well.
It seems like I've read a lot on the subject and tried a
2012 Apr 04
1
BRugs crash, question
(Using BRugs 0.7-5, R 2.14.2 32-bit on 64-bit Windows 7, OpenBUGS 3.2.1)
1. BRugs crashes R for me as follows. Sorry about the lack of detail; please let
me know if / how to supply a more useful bug report on this issue.
fit <- BRugsFit(...)
# BRugs and OpenBUGS runs fine, the parameter estimates are reasonable
# across 3 chains
samplesBgr("beta") # crash
2005 May 25
1
The error while using R2WinBUGS
Dear all,
I tried to run WinBUGS model in R by using package R2WinBUGS, but I
failed because of the massage : cannot calculate DIC for model in log
file of WinBUGS14. In fact, the model works in WinBUGS and I can get
summaries of the model, such as density, stats..., except DIC , because
DIC may not be appropriate in this kind of model due to some
reasons(according to the manual of WinBUGS14),
2007 Jul 29
1
R2WinBUGS more updates after model did not converge
After running a model for a while and seeing that it did not converge yet, how
can I continue to run, ie not starting anew, the model?
I know if I manually/interactively use winbugs, this is possible anytime, but
how can I do this in r2winbugs, so that my existing sim$sims.array and other
stuff in the object that bugs() returns gets extended?
Thanks Toby
2010 May 06
1
BRugs dwwinn.exe error
Hi,
I have a strange behaviour of openBUGS and WinBUGS when I start them
from R.
Version:
R: 2.10.1
openBUGS: 3.07
WinBUGS: 1.43
R2WinBUGS: 2.1-16
BRugs: 0.5-3
I have a model and data without initial start values. If I use the stand
alone versions of openBUGS and WinBUGS I don't have any problems and I
get what I want.
If I use function bugs() from R2WinBUGS- resp. BRugs-Library then
2008 Jan 20
3
Bugs through R in Mac
Hello,
I recently changed from Win XP to Mac OS X (10.5.1).
Is there a way to run Bugs (in any version) in R (R version 2.6.0
(2007-10-03)) on this platform?
Fredrik
2009 Jan 12
2
R2WinBUGS stopping execution
Apologies if this isn't acceptable for the general help list.
I'm running OpenBUGS model via the R2WinBUGS package interface, under
Windows. Is it possible to terminate running models, short of using the
Windows Task Manager to forcibly exit the program?
Regards,
Richie.
Mathematical Sciences Unit
HSL
------------------------------------------------------------------------
2006 Dec 07
2
Enhances, require() and quality control
Hello!
I am working on a package where Enhances field seems to be a plausible
option. When I add package, say coda, to this field, I get the following
warning with recent R-devel:
----
* checking for working latex ... OK
* using log directory '/home/ggorjan/programs/R/devel/test.Rcheck'
* using R version 2.5.0 Under development (unstable) (2006-12-06 r40129)
* checking for file
2006 Apr 29
3
Making R talk to Win/OpenBUGS in Linux (again)
I'm back!
I've just learned that, on a fully updated Fedora Core Linux5 sytem,
the working solution to access Winbugs under wine via the R package
"rbugs" no longer works. Here was my last post on this topic (with
the formerly working solution) from January.
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/68497.html
Currently, what happens is that WinBUGS starts up, but just
2005 Apr 08
1
new R package BRugs
Hi,
this is the first announcement of a *developer version* of the R package
BRugs, which is based on OpenBUGS 2.1.0.
OpenBUGS 2.1.0 has been released earlier this week
(http://mathstat.helsinki.fi/openbugs/).
BRugs contains a complete OpenBUGS installation as well as R code to
access OpenBUGS functionality from R. Simply install the package, load
it and say ?BRugs and ?BRugsFit
2007 Jul 21
1
R2WinBUGS awkward to use
Hi All
Does anyone know if I can avoid to use the write.model() function below? I dont
want to do this. Can't bugs() do that automatically for me just by specifying
the 4th argument 'model'? Just I like I am also using the 'inits' object!
If I use 'model' in the same way as I use 'inits' I am getting the error:
> sim <- bugs(data, inits, parameters,
2012 May 23
1
how a latent state matrix is updated using package R2WinBUGS
I'm trying to understand how a latent state matrix is updated by the MCMC
iterations in a WinBUGS model, using the package R2WinBUGS and an example
from Kery and Schaub's (2012) book, "Bayesian Population Analysis Using
WinBUGS". The example I'm using is 7.3.1. from a chapter on the
Cormack-Jolly-Seber model. Some excerpted code is included at the end of
this message;