Displaying 20 results from an estimated 2000 matches similar to: "Calling a windows program"
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
2012 Feb 07
1
R2WinBUGS error message
Hi!
I am new to BUGS and running BUGS from R. I am trying to run a regression
model from R, however I have this error message:
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 'Permission denied'
2: In file(con,
2012 Jul 09
1
R to winbugs interface
Hello everyone,
I need some help regarding calling WinBUGS from R. I
have a model for WinBUGS and an R code which calls WinBUGS. On running the
code I am being shown the error message :
Error in file(con, "wb") : cannot open the connection
In addition: Warning messages:
1: In file.create(to[okay]) :
cannot create file 'c:/Program
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 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
2006 Dec 09
1
WinBUGS14 and R
I'm trying to call BUGS from R. But it's not working. R freezes up and
BUGS gives me a strange output in the log. Just to know, BUGS is
registered. The modified date on the keys file is today (Dec. 9th). It
should be fully registered so that I can use it fully. And, the BUGS model
is syntactically correct. Any suggestions would be very helpful.
Here is my BUGS model:
model {
2012 Dec 04
1
Winbugs from R
Hi,
I am trying to covert a Winbugs code into R code. Here is the winbugs code
model{# model’s likelihoodfor (i in 1:n){time[i] ~ dnorm( mu[i], tau ) # stochastic componenent# link and linear predictormu[i] <- beta0 + beta1 * cases[i] + beta2 * distance[i]}# prior distributionstau ~ dgamma( 0.01, 0.01 )beta0 ~ dnorm( 0.0, 1.0E-4)beta1 ~ dnorm( 0.0, 1.0E-4)beta2 ~ dnorm( 0.0, 1.0E-4)#
2003 Jul 15
2
Undefined subroutine &R::Rdconv::fill (PR#3485)
Full_Name: michael klinglemsith
Version: R-1.7.1
OS: linux
Submission from: (NULL) (134.134.136.4)
I run: (note: ] is my unix prompt)
]./configure
It seems to work, here are the messages I get from the end of configure:
R is now configured for i686-pc-linux-gnu
Source directory: .
Installation directory: /usr/local
C compiler: gcc -D__NO_MATH_INLINES
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,
2008 Feb 29
1
bugs.seed= and summary.only= option in R2WinBUGS
Dear R user:
I am using R2WinBUGs to call WinBUGS from R. But I have some problems in
using either the option bugs.seed and summary.only in the function bugs.
Here are the programs and error messages. It appears that if I don't use
either option, the program runs fine. I am using R2.5.1 and WinBUGs14.
The program is not running:
> schools.sim <- bugs(data, inits,
2006 Nov 30
0
R2WinBUGS - parameter monitor seting
R2WinBUGS users,
I'm getting the error message "monitor could not be set" when I try to
monitor (and output to R) a response variable that includes missing data
(NAs)...ie.e imputing for y. Setting monitors for other parameters works
OK and running the R-generated WinBUGS script file in WinBUGS, also
works OK. Below is my R code and the log.txt file output by R2WinBUGS.
As I want to
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+
2008 Aug 15
1
Question on default link directory
Hi,
I have got a problem with running WinBugs from R.
Following WinBugs project recommendations for Vista Microcoft, I
installed my Winbugs software at C:\ (not at C:\Program Files).
However, when I run the attached code in R, R still looks for Winbugs
at C:\Program Files and ends up in numerous error messages.
I wonder if it is possible to direct R to C:\WinBUGS14 instead of
default link to
2010 Jan 19
1
Help on using WinBUGS on Mac
Dear all,
I had trouble in setting up WinBUGS on my Mac, and I'm seeking for some help
here.
I followed the instruction by Tom Palmer here:
http://www.ruudwetzels.com/MacBUGS/winbugsonmacosx.pdf
I installed Darwine 1.1.21, and downloaded WinBUGS14. However, when I
double-clicked the WinBUGS14.exe file, a black-box dialog window poped up,
and I got error message in the Wine log as
2004 Oct 22
3
Samba 3.0.7 is broken
I'm running Debian woody with all stable packages w/e to samba which is
from the backports collection.
Basically 3.0.5 works, 3.0.6 and 3.0.7 do not.
By not working, I mean connecting from a windows workstation results in
a login and password prompt and a 'Failed to verify incoming ticket'
error in the logs. This behaviour occurs with accessing it via
"\\hostname\";
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,
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),
2010 Aug 16
1
Specify decimal places for parameters in BUGS output
Hi All:
I had a basic question to ask. I am running R2WinBUGS so that I could
automate the running of my model using 1000 simulated datasets. Below is the
code I am using. The only problem I am having is the bugs output that comes
out shows my parameters as nos with 1 decimal place after. I would want to
have the parameters with 5 places after decimal. How would I specify that in
my code for
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