Displaying 20 results from an estimated 3000 matches similar to: "R2WinBUGS question from beginner"
2009 Jan 20
1
R and WinBUGS (via R2WinBUGS) error
Dear UseRs,
Apologies, I tried to post to the list yeasterday, but (for some
reason) part of my message got missed off. Here's a second attempt.
I am having some problems using R with WinBUGS using the R2WinBUGS
package. Specifically, when I try to run bugs() I get the following
message.
Error in FUN(X[[1L]], ...) :
.C(..): 'type' must be "real" for this format
To
2007 Nov 24
1
R2winBUGS | option to turn off GUI?
Greetings -
I run a multi-pro server box (GNU/Linux), on which I've installed
winBUGS under wine. Works fine, and plays nice with r2WinBUGS, provided
everything is done through a graphical front-end (either by working from
console, or using a virtual desktop via VNC or equivalent).
However, I'm wondering if there is a way to use R2winBUGS and winBUGS
such that winBUGS does not spawn
2006 Aug 21
1
R2WinBugs
Hi all,
I am having problems using the R2Winbugs function
When I perform an analysis directly in Winbugs I can specify that the
first 'n' iterations are to be done using an 'adaptive' phase. After
this phase the markov chain seems to mix a lot better.
I don't seem to be able to specify R2winbugs to carry out this adaptive
phase, I can just specify the burnin length but
2007 Aug 07
1
R2WinBUGS results not different with different runs
Hi All
I dont know if anyone else has noticed the same thing, but with 2 subsequent
runs of the same syntax, I am getting exactly the same results. I was expecting
that results differ slighlty, say in the 4th or 5th decimal place.
Is this a specialty with R2WinBUGS? Does it have something to do with the seed
value? Isnt the seed value reset everytime I restart winbugs?
Thanks Toby
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
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
2006 Apr 06
0
R2WinBUGS erro
Dear R-help,
I'm using the R2WinBUGS package and getting an error message:
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'codaIndex.txt', reason 'No such file or directory'
I'm using R 2.2.1 and WinBUGS 1.4.1 on a windows machine (XP). My R code and WinBUGS code is
2011 Jan 14
1
R2WinBUGS-Windows 7
Dear all,
I'm having a slight issue with R2WinBugs.... it cannot detect where WinBUGS is located.
Q: How can I change the default path?
Any advice is greatly appreciated. Thanks.
Regards
Erica
I'm using R2WinBUGs (R version 2.21.1) on windows platform (Windows 7).
I have downloaded WinBUGS14.exe and patch 1.4.3.
As i'm working with Windows 7 (similiar issues to Vista occur),
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
2010 Dec 26
1
R2WinBugs data import error
For some purpose, I need to transfer a NAs array to WinBugs through
R2WinBugs, But I constantly got an error message:"'type' must be "real" for
this format". Here is my data to transfer:
x = matrix(data=NA,nrow=3,ncol=3)
x = as.array(x)
data <- list ("x")
if I add a line to above setting, then I can pass R2WinBugs:
x[1,1] = 0
If I manually input the
2007 Nov 06
1
Running R2WinBUGS on Linux using Wine
Hello all
(1) My departmental IT guru has installed the latest Wine (0.9.48) on a
well maintained Fedora 7 server, so that I can run WinBUGS from R via
R2WinBUGS (this seems like the only real option for running BUGS from R
on a Linux platform?)
(2) WinBUGS seems to run okay, except for the following output errors:
=== === ===
fixme:keyboard:RegisterHotKey (0x10024,13,0x00000002,3): stub
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
2009 Jul 14
0
R2WinBUGS on fedora linux question
#========
This mail is forwarded from Mark Leeds (markleeds at verizon.net) who is
experiencing troubles sending to the list himself.
#========
Hi: ?I went through Soren Buhl's documentation for installing and
running R2WinBUGS in linux. Thank you Soren for
the nice documentation. I installed wine and I think it worked because
I was able to get a winbugs pop up screen
to open.
I also
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.
2005 Jul 27
1
error message running R2WinBUGS
*Dear R-user,
*
I try to run Winbugs from R using bugs function in R2WinBUGS.My model works
well in Winbugs except that I can't get DIC. Since I don't need DIC, when I
try to run Winbugs from R , I set "DIC=FALSE". My model is as following:
model {
for (i in 1:N) {
for(j in 1 : T ) {
x[i, j] ~ dbin(p[i, j],n[i])
#Hier.prior
p[i, j] ~ dbeta(alpha[i, j], beta[i, j])
alpha[i, j]
2006 Dec 10
1
R2WinBUGS and calling WinBUGS in Crossover/WINE
Hi there - I have a question for any of you who use R2WinBUGS to call
WinBUGS using the useWINE option in that package.
I have Codeweaver's Crossover emulator installed on my Intel Mac with
WinBUGS working fine if I start it from Crossover. But there is
supposed to be a way to start it directly from a command line, which I
could pass to the R2WinBUGS using the bugs(...,
2009 Jan 19
1
WinBUGS with R
Dear UseRs,
I am having some problems using R with WinBUGS using the R2WinBUGS
package. Specifically, when I try to run bugs() I get the following
message.
Error in FUN(X[[1L]], ...) :
.C(..): 'type' must be "real" for this format
>
To give a little more context, my bugs() command (for a multilevel
ordinal logit similar to Gelman and Hill, Data Analysis Using
2010 Jan 25
1
R2WinBUGS/ trap
I am generating 1000 replicate data sets in R, each data set is then
analyzed with WinBUGS in batch mode using R2WinBUGS. Unfortunately,
occasionally some data sets lead WinBUGS to open a "trap" window; and the
simulations are interrupted as result of the message. Is there any ways to
set R2WinBUGS so that it would ignore the trap message and proceed with the
simulations?
Cheers
2008 Apr 16
3
Problems with R2WinBUGS
Hello,
I am trying to use R2WinBUGS to conduct a mixed treatment comparison (MTC)
analysis. On the surface, it seems to me that I am following the correct
steps: (1) reading the data into R, (2) specifying initial values for the
parameters in the model and (3) fitting the model to the data using the
bugs() function in R2WinBUGS. However, I get the error message
2006 Apr 05
2
R2WinBUGS error
Dear R-help,
I'm using the R2WinBUGS package and getting an error message:
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'codaIndex.txt', reason 'No such file or
directory'
I'm using R 2.2.1 and WinBUGS 1.4.1 on a windows machine (XP). My R code
and WinBUGS code is given below.