Re: [R] BRugs: error when compiling model

2013-08-05 Thread Uwe Ligges
Please specify a reproducible example, i.e. what you did exactly, all the way before the error message. Best, Uwe Ligges On 05.08.2013 17:06, Nash, Charles T C wrote: Using: R version 3.0.1 (2013-05-16) -- "Good Sport" Platform: x86_64-w64-mingw32/x64 (64-bit) OpenBUGS version 3.2.2 rev 1063

[R] BRugs: error when compiling model

2013-08-05 Thread Nash, Charles T C
Using: R version 3.0.1 (2013-05-16) -- "Good Sport" Platform: x86_64-w64-mingw32/x64 (64-bit) OpenBUGS version 3.2.2 rev 1063 BRugs version 0.8-1 Hi there, When using the modelCompile() function in BRugs package I get the following error: Error in handleRes(res) : NA In addition: Warning mess

Re: [R] BRugs Error

2013-02-11 Thread Uwe Ligges
On 10.02.2013 22:43, David Winsemius wrote: On Feb 10, 2013, at 12:28 PM, Uwe Ligges wrote: On 10.02.2013 21:18, Paul Ossenbruggen wrote: I installed XCode, XQuartz and OpenBUGS on my Mac using WINE. When I tried to test my installation I received the following error. If correct,

Re: [R] BRugs Error

2013-02-10 Thread Prof Brian Ripley
On 10/02/13 21:43, David Winsemius wrote: On Feb 10, 2013, at 12:28 PM, Uwe Ligges wrote: On 10.02.2013 21:18, Paul Ossenbruggen wrote: I installed XCode, XQuartz and OpenBUGS on my Mac using WINE. When I tried to test my installation I received the following error. If correct, BRu

Re: [R] BRugs Error

2013-02-10 Thread David Winsemius
On Feb 10, 2013, at 12:28 PM, Uwe Ligges wrote: On 10.02.2013 21:18, Paul Ossenbruggen wrote: I installed XCode, XQuartz and OpenBUGS on my Mac using WINE. When I tried to test my installation I received the following error. If correct, BRugs does not exist for R 2.15.1.

Re: [R] BRugs Error

2013-02-10 Thread Uwe Ligges
On 10.02.2013 21:18, Paul Ossenbruggen wrote: I installed XCode, XQuartz and OpenBUGS on my Mac using WINE. When I tried to test my installation I received the following error. If correct, BRugs does not exist for R 2.15.1. Is there a means to get arrange this problem

[R] BRugs Error

2013-02-10 Thread Paul Ossenbruggen
I installed XCode, XQuartz and OpenBUGS on my Mac using WINE. When I tried to test my installation I received the following error. If correct, BRugs does not exist for R 2.15.1. Is there a means to get arrange this problem? Thanks Paul The following code is an exam

Re: [R] BRugs has a bug to use "OpenBUGS_PATH"

2012-09-23 Thread Uwe Ligges
On 21.09.2012 20:49, R. Michael Weylandt wrote: On Fri, Sep 21, 2012 at 7:00 PM, Shuguang Sun wrote: Hi, When I used BRugs (Version 0.8.0), I found a bug about the findOpenBUGS way using "OpenBUGS_PATH". I don't know how to contact the developer, so I think someone here may help me. The ea

Re: [R] BRugs has a bug to use "OpenBUGS_PATH"

2012-09-21 Thread R. Michael Weylandt
On Fri, Sep 21, 2012 at 7:00 PM, Shuguang Sun wrote: > Hi, > > When I used BRugs (Version 0.8.0), I found a bug about the > findOpenBUGS way using "OpenBUGS_PATH". I don't know how to contact > the developer, so I think someone here may help me. The easiest way to get in touch when you have packa

[R] BRugs has a bug to use "OpenBUGS_PATH"

2012-09-21 Thread Shuguang Sun
Hi, When I used BRugs (Version 0.8.0), I found a bug about the findOpenBUGS way using "OpenBUGS_PATH". I don't know how to contact the developer, so I think someone here may help me. The issue is: I want to use OpenBUGS/BRugs in a portable way in windows, so I set the environment variable "OpenBU

Re: [R] BRugs crash, question

2012-04-04 Thread Jack Tanner
Bob O'Hara gmail.com> writes: > > On 4 April 2012 05:35, Jack Tanner hotmail.com> wrote: > > > samplesBgr("beta") # crash > > samplesBgr("beta", plot=FALSE) # also crash > > > > Have you plotted your histories? I haven't used samplesBgr() much, so I > don't know how stable it is (although I do

Re: [R] BRugs crash, question

2012-04-03 Thread Bob O'Hara
On 4 April 2012 05:35, Jack Tanner wrote: > (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(...)

[R] BRugs crash, question

2012-04-03 Thread Jack Tanner
(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

Re: [R] BRugs under Linux?

2010-05-18 Thread Uwe Ligges
On 17.05.2010 18:46, Kevin E. Thorpe wrote: Hello. In this post: http://finzi.psych.upenn.edu/Rhelp10/2010-March/233815.html Uwe Ligges suggests using BRugs rather than R2WinBUGS under windows. He also notes that it is not in the main CRAN repository, but it is in "extras" which is a default

[R] BRugs under Linux?

2010-05-17 Thread Kevin E. Thorpe
Hello. In this post: http://finzi.psych.upenn.edu/Rhelp10/2010-March/233815.html Uwe Ligges suggests using BRugs rather than R2WinBUGS under windows. He also notes that it is not in the main CRAN repository, but it is in "extras" which is a default repository under windows. I have OpenBUGS

Re: [R] BRugs dwwinn.exe error

2010-05-06 Thread Uwe Ligges
I'd highly suggest to start directly in OpenBUGS (without R): An opened trap windows means you have generated some BUGS error. Hence the problem is not on the R side ... Once you got it to work, you can switch over to R and use WinBUGS more remotely and embed the stuff in your other R functio

[R] BRugs dwwinn.exe error

2010-05-06 Thread Fabio Valeri
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 pro

Re: [R] BRugs

2010-04-19 Thread Uwe Ligges
Perhaps a better idea is to ask on a BUGS mailing list. BRugs is just an interface to OpenBUGS and is not involved in handling the BUGS language I'd also suggest to strat trying your problem witht BRugs but in OpenBUGS directly in order to avoid confusion caused by the interface. Best wis

Re: [R] BRugs

2010-04-19 Thread N S Ha
Thanks for the reply Bob, but it still does not work, you see. I ran this model, just with the main effects and it ran fine. n=length(bi.bmi) Lgen=2 Lrace=5 Lagegp=13 Lstra=15 Lpsu=2 bi.bmi.model=function(){ # likelihood for(i in 1:n){ bi.bmi[i]~ dbern(p[i]) logit(p[i])<- a0 + a

Re: [R] BRugs

2010-04-19 Thread Bob O'Hara
On 19 April 2010 06:04, flipha23 wrote: > > Hi. I am new here, and I am writing this Winbugs code with BRugs. > When I run this I get this message. > model is syntactically correct > data loaded > array index is greater than array upper bound for a1 > [1] "C:\\DOCUME~1\\Owner\\LOCALS~1\\Temp\\

[R] BRugs

2010-04-19 Thread flipha23
Hi. I am new here, and I am writing this Winbugs code with BRugs. n=length(bi.bmi) Lagegp=13 Lgen=2 Lrace=5 Lstra=15 Lpsu=2 #model gen x race bi.bmi.model=function(){ # likelihood for (i in 1:n){ bi.bmi[i]~ dbern(p[i]) logit(p[i])<- a0 + a1[agegp[i]]+a2[gen[i]]+a3[race[i]]

Re: [R] BRugs in Linux?

2009-08-06 Thread Frank E Harrell Jr
massiel wrote: Hello, I am trying to learn how to run Bugs from R using Linux…I’m new at Linux so I have been looking what others do on the web, but the info is confusing. Is there any good source where to go and learn how to set up and run Bugs from R in Linux? When I needed to do thi

[R] BRugs in Linux?

2009-08-06 Thread massiel
Hello,    I am trying to learn how to run Bugs from R using Linux…I’m new at Linux so I have been looking what others do on the web, but the info is confusing. Is there any good source where to go and learn how to set up and run Bugs from R in Linux? When I needed to do this with windows I

Re: [R] BRugs removed?

2008-10-11 Thread Uwe Ligges
Haoda Fu wrote: All - I am new to this help list. Please forgive me if this question has been asked before. A couple of questions about running BRugs in R. 1. I found that it has been removed from R package list. Why is it removed? Is there any improved package to replace BRugs? It ha

[R] BRugs removed?

2008-10-11 Thread Haoda Fu
All - I am new to this help list. Please forgive me if this question has been asked before. A couple of questions about running BRugs in R. 1. I found that it has been removed from R package list. Why is it removed? Is there any improved package to replace BRugs? 2.I run BRugs and sometimes

Re: [R] BRugs package question

2007-09-21 Thread Uwe Ligges
sk wrote: > Hi there, > I installed the latest OpenBUGS version (3.0.3) in program files folder but > it seems that bugs use its own version of OpenBUGS. > here is part of the message bugs returns > . > Welcome to BRugs running on OpenBUGS version 2.2.0 beta > > how can i co

[R] BRugs package question

2007-09-20 Thread sk
Hi there, I installed the latest OpenBUGS version (3.0.3) in program files folder but it seems that bugs use its own version of OpenBUGS. here is part of the message bugs returns . Welcome to BRugs running on OpenBUGS version 2.2.0 beta how can i configure BRugs to use the mi