Re: [R] R crashes when communicating with JAGS

2011-08-11 Thread Uwe Ligges
Works for me with JAGS 3.1.0. Uwe Ligges On 11.08.2011 14:09, David Wooff wrote: There is a thread on this topic already: http://finzi.psych.upenn.edu/Rhelp10/2010-August/250934.html I'm rather mystified by a similar problem and wondering whether I've overlooked something obvious. I'm running

[R] R crashes when communicating with JAGS

2011-08-11 Thread David Wooff
There is a thread on this topic already: http://finzi.psych.upenn.edu/Rhelp10/2010-August/250934.html I'm rather mystified by a similar problem and wondering whether I've overlooked something obvious. I'm running with latest versions of R and all packages, and latest version of JAGS running und

Re: [R] R crashes when communicating with JAGS

2010-08-31 Thread Ben Bolker
Florian Weiler wrote: > Thanks for your answer, Ben. Indeed I tried to use the newest R > version, but just to be sure I tried it again just now, with the same > result, i.e. R crashes. Unfortunately I cannot even look at the system > configurations as this is a university computer and they (stupid

Re: [R] R crashes when communicating with JAGS

2010-08-31 Thread Florian Weiler
Thanks for your answer, Ben. Indeed I tried to use the newest R version, but just to be sure I tried it again just now, with the same result, i.e. R crashes. Unfortunately I cannot even look at the system configurations as this is a university computer and they (stupidly) don't give us administrato

Re: [R] R crashes when communicating with JAGS

2010-08-30 Thread Ben Bolker
Florian Weiler johnshopkins.it> writes: > First I create some data: > N <- 1000 > x <- rnorm(N, 0, 5) > > Then I specify a model in JAGS, storing it in the directory with the > extension .bug: > model { > for (i in 1:N) { > x[i] ~ dnorm(mu, tau) ## the model > } >

Re: [R] R crashes when communicating with JAGS

2010-08-30 Thread Florian Weiler
Hi again, I was asked to provide some code. Well, in my case it doesn't really matter which example I use, so I just write down a very basic and canned example: First I create some data: N <- 1000 x <- rnorm(N, 0, 5) Then I specify a model in JAGS, storing it in the directory with the extension

[R] R crashes when communicating with JAGS

2010-08-30 Thread Florian Weiler
Dear all, I have a question regarding using JAGS and R. My problem is that every single time I want to call JAGS from R the latter crashes (i.e. it turns pale and the Windows tells me "R has stopped working". Strangely, if there is a mistake in my jags code, this will be reported without a crash.