Displaying 20 results from an estimated 6000 matches similar to: "Why do I have the following error message?"
2009 Oct 03
3
Winbugs under R's error message
Dear R lists,
I ran Winbugs under R. I could get the results, but I kept getting the error messages:
Error in file(con, "wb") : cannot open the connection
In addition: Warning messages:
1: In file.create(to[okay]) :
cannot create file 'c:/Program Files/WinBUGS14//System/Rsrc/Registry_Rsave.odc', reason
2009 Oct 03
1
Why do I have the error message?
Dear R lists,
I ran Winbugs under R. I could get the results, but I kept getting the error messages:
Error in file(con, "wb") : cannot open the connection
In addition: Warning messages:
1: In file.create(to[okay]) :
cannot create file 'c:/Program Files/WinBUGS14//System/Rsrc/Registry_Rsave.odc', reason
2010 Jan 06
1
What does the warning message exactly say?
Hello!
Sometimes, the WinBUGS prompts a warning message saying something like mcmc can be dangerous.
What does the warning message exactly say?
Can someone tell me?
Thank you very much!
Best wishes
_________________________________________________________________
[[elided Hotmail spam]]
[[alternative HTML version deleted]]
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,
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
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 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.
2010 Aug 31
2
Can WinBUGS run two processes through R at the same time?
Dear all,
I want to run two winBugs process through R (by R2WinBUGS package).
The first WinBUGS process can successfully perform under R.
The error message appears while I put the code to run for the second
WinBUGS.
The error message:
Error in file(file, ifelse(append, "a", "w")) :
cannot open the connection
In addition: Warning message:
In file(file, ifelse(append,
2009 Oct 23
1
Connecting to winbugs from R
Hi,
I'm having trouble running a script within winbugs when calling winbugs from
R.
Here are a few lines from the winbugs log:
display(log)
check(C:\DOCUME~1\michael\LOCALS~1\Temp\RtmpjKnHMu\mm_TO_bugs9bc21e.txt)
cannot open
C:\DOCUME~1\michael\LOCALS~1\Temp\RtmpjKnHMu\mm_TO_bugs9bc21e.txt
data(C:/DOCUME~1/michael/LOCALS~1/Temp/RtmpjKnHMu/data.txt)
command #Bugs:data cannot be executed (is
2012 Jan 16
1
Saving WinBugs log file when using bugs()
Hi,
I am very new to R and Winbugs. I have been provided with a code that runs
Winbugs from R. The code runs 60 different models and I would like to
either save the Winbugs log file for each of these or reproduce the WinBugs
plots which show convergence over the iterations.I can do this by using
Debug=true and saving manually each time but obviously this is very time
consuming.
Many thanks
Ruth
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
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
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]
2012 Feb 01
1
problem working directory WinBUGS using R
Hi,
I am trying to use WinBUGS using R, but i am having some problems using
bugs function:
out <- bugs(data = win.data, inits = inits, parameters.to.save = params,
model.file = "model.txt",
n.thin = nt, n.chains = nc, n.burnin = nb, n.iter = ni, debug = TRUE, DIC =
TRUE, working.directory = getwd())
ls()
WinBUGS file is in working directory=D:/Line/documents but R looks for
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
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),
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
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),
2012 Oct 03
1
Errors when saving output from WinBUGS to R
Dear all
I used R2WinBUGS package's bugs() function to generate MCMC results. Then I
tried to save the simulation draws in R, using read.bugs() function. Here is
a simple test:
######################
library(coda)
library(R2WinBUGS)
#fake some data to test
beta0=1
beta1=1.5
beta2=-1
beta3=2
N=200
x1=rnorm(N, mean=0,sd=1)
x2=rnorm(N, mean=0,sd=1)
x3=rnorm(N, mean=0,sd=1)
lambda2= exp(beta0+
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