search for: r2winbugs

Displaying 20 results from an estimated 135 matches for "r2winbugs".

2007 Sep 25
6
R2Winbugs problem
Just while I use R2Winbugs, the following error will be presented. Please tell me how to cope with. Error in file(file, "r") : unable to open connection In addition: Warning message: cannot open file 'codaIndex.txt', reason 'No such file or directory' in: file(file, "r") -- View this me...
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 any windows - in other words, have R and R2w...
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 dif...
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...
2006 Apr 29
3
Making R talk to Win/OpenBUGS in Linux (again)
...the bayesmix package that supports access to it from R, I still would like a way to interact with Winbugs through Wine. If anybody has rbugs working in current Linux, please tell me how--give me a working example? In the meanwhile, I've noticed that nightly updates have successfully installed R2WinBUGS on linux systems and I've got a small test case that I'd like to ask about. Since rbugs is a linux adaptation of R2WinBUGS, and R2WinBUGS is now buildable on Linux, it looks like R2WinBUGS may be the way to go. But it fails. The error centers around the "WINEPATH" setting. I...
2006 Apr 22
1
Monitor() in R2WinBUGS
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: > monitor(sims) Error: couldn't find function "monitor" I've searched the archives but have not seen any issues...
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 versi...
2009 Nov 03
2
R2WinBUGS and R-2.10.0: The school example not running
Dear R users I have been encountering an error (in the Winbugs window: Blackbox - index out of range ..... ). So to me it seems R2WinBUGS is not linking up well with the new R version since the same model runs well under r-2.9.2. So is my assumption correct or am I doing something wrong. The data I used and the code are in the help of R2WinBUGS (?bugs). Regards, -- Luwis Diya, Leuven Biostatistics and Statistical Bioinformatics C...
2012 Feb 07
1
R2WinBUGS error message
...cannot create file 'c:/Program Files/WinBUGS14//System/Rsrc/Registry_Rsave.odc', reason 'Permission denied' 2: In file(con, "wb") : cannot open file 'c:/Program Files/WinBUGS14//System/Rsrc/Registry.odc': Permission denied Can anyone help me out ? I am running R2WinBUGS from a windows 7 machine. -- View this message in context: http://r.789695.n4.nabble.com/R2WinBUGS-error-message-tp4364838p4364838.html Sent from the R help mailing list archive at Nabble.com.
2009 Sep 05
0
R2WinBUGS question from beginner
Hi R Users, I have--what I think--is a very basic question. I'm trying to use R2WinBUGS and am having difficulty setting up the data properly for repeated measures data in a hierarchical model. First, I know that it is me...not the package, as I sucessfully used R2WinBUGS to run a basic regression. Second, I know that it's not my hierarchical model as I've run it successfu...
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...
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 W...
2007 Apr 29
0
Going from Coda Files to R2WinBUGS
I'm currently using JAGS as my Bayesian program of choice due to working off of an older mac running OSX. I'd like to utilize some of the functions from R2WinBUGS, however. As such, I'm attempting to write something to go from coda output dumped by JAGS into the bugs object format - I've looked for functions that will convert from an mcmc object to a bugs object, but have had no luck as of yet. I've attempted to adapt Yu-Sung Su's m...
2007 Jul 26
2
error in using R2WinBUGS on Ubuntu 6.10 Linux
I am trying to run WinBUGS 1.4 from the Ubuntu 6.10 Linux distribution. I am using the R2WinBUGS packages with the source file listed below. WinBUGS appears to run properly, but I get the following message after WinBUGS starts in WINE. Does anyone know what may be causing this error and what the correction may be? Thanks ERROR MESSAGE: fixme:ole:GetHGlobalFromILockBytes cbSize is 13824 err...
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 p...
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 R2WinBUG...
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...
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 [[alternative HTML versio...
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 ------------------------------------------------------------------------ ATTENTION: This messag...
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 wit...