Displaying 20 results from an estimated 5000 matches similar to: "Cannot evaluate subset expression for sigmainverse"
2012 Jan 23
1
Jags problem
Hi, all:
I met "Non-conforming parameters for function %*%" problem, when I run the
Jags model in R.
My model is like this:
model{
for(i in 1:n){
for(j in 1:t[i]){
et[i,j]<-yt[i,j]-beta0+betax*xt[i,j]+betat*t[i,j]
}
for(a in 1:t[i]){
for(b in 1:t[i]){
sigma[i,a,b]<-pow(rho0,abs(t[a]-t[b]))
}
}
phi[i]<-
2011 Mar 14
1
JAGS/BUGS on gene expression data
Has anybody had issues running MCMC (either BUGS or JAGS) on data sets of
this magnitude (ie 30k x 20-30). I've been trying to run a hierarchical
random effects model on expression data but R completely stalls out on jobs
run on 32bit R on our server (doesn't respond...then eventually crashes out
with an exception fault). Would using 64bit R help with JAGS? (As far as I
know there's
2010 Aug 30
1
R crashes when communicating with JAGS
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. Only when the code is right and the model
should start to run, R stops working. I already
2014 Apr 02
1
RJAGS Installation Issues
Hello,
I am trying to install rjags on R 3.0.0 that is running on CentOS 6.4. Jags
is installed and seems to be working correctly.
I get the following error when trying to install from source or CRAN,
configure: error: "Problem with header file /usr/include/JAGS/Console.h "
See `config.log' for more details
JAGS was intalled with an rpm. Does not look like the rpm included
2010 May 04
1
errors when installing rjags
Hi,
With the sid package jags (2.0.0-1) and r-base-core (2.11.0-1), I cannot
install package rjags anymore (this used to work at some point; can't
recall exactly at what R/JAGS versions):
---<--------------------cut here---------------start------------------->---
R> install.packages("rjags", configure.args="--with-jags-modules=/usr/lib/JAGS/modules-2.0.0")
2017 Sep 29
1
problem with rjags installation in ubuntu 14.04
Hello folks
Earlier versions of jags and rjags installed on my system without any
difficulty, but I'm having trouble with jags version
4.3.0-1ubuntu2~ubuntu14.04.1~ppa1 (from Michael Rutter's R ppa) and
rjags version 4.6.
The call to install.packages() I always used successfully now produces
the error "cannot link to JAGS library in /usr/lib/x86_64-linux-gnu."?
shown below
2012 Nov 28
2
Error message R2Jags
Hi,
I'm trying to generate a GLMM for Y following a negative binomial
distribution. The first step I'm taking as a beginner in the use of R2Jags
is to generate a GLM for Y following a Poisson distribution (I heard it's
good in order to get used to the coding language), so here I am and here I
face the first error message for which I can't find any mistake of spelling.
Could you
2012 Jan 12
1
Can't install rjags on LinuxMint 12
Hi,
I'm trying to install rjags and R2jags with R version 2.14.1 (2011-12-22)
on
Linux Mint 12 machine using
software repository:
deb http://cran.fhcrc.org/bin/linux/ubuntu oneiric/
jags seems to install OK, but rjags gives a weird error about not finding
fprec symbol.
Here is a history of the problem including several attempts to work
around it.
(Because of Ben Bolker's recent
2009 Jul 21
1
error when installing rjags
Hi All: I get the following error when trying to install the rjags package.
I've installed the
jags software and I'm using Fedora 10.0 and my sessionInfo is at the bottom
of this email.
I'm also sorry if this email ends up having control A's all over it. I still
haven't figured how to fix that. Thanks.
[1] "LOADING MASS LIBRARY"
checking for
2012 Jan 13
1
R2jags update, jags.parallel
Anyone used jags.parallel in latest version of R2jags?
Ubuntu Oneiric, just ran updates in R to get latest R2jags package which
supposedly has added jags.parallel command to send chains to multiple
cores ... but when I submit, I get:
test <- jags.parallel(d, inits, param, model.file="rats.bug",
n.chains=3, n.iter=2000)
Error: could not find function
2007 Dec 30
2
Trying to install rjags on Mac OS X 10.5
Greetings,
I wonder if anyone can offer any help or advice--even direction to an
appropriate source of advice. I am trying to install rjags 1.0.1 on Mac OS X
10.5 (see http://www-fis.iarc.fr/~martyn/software/jags/). I have R.app 2.6.1
installed.
JAGS 1.0.1 is apparently successfully installed. I (think I) know this because
when I type 'jags' into Terminal, I get the following:
2011 Sep 10
1
dgamma in jags within r
I define priors in jags within r using a gamma distribution. I would
like to control the shape but I have problems. Any help will be usefull.
From help of dgamma
___________________
The Gamma distribution with parameters shape = a and scale = s has density
f(x)= 1/(s^a Gamma(a)) x^(a-1) e^-(x/s)
and rate=1/scale
From jags user manual
____________________
dgamma(r, mu) has a density of
2012 Jan 10
1
rjags installation trouble
Trying to install latest rjags (3-5) from CRAN with JAGS 3.2.0
installed on Ubuntu 10.04, with r-devel ... the bottom line is that it
fails while loading with
/libs/rjags.so: undefined symbol: _ZN7Console15checkAdaptationERb
Has anyone else seen this or is it a glitch somewhere in my system?
thanks
Ben Bolker
==================
bolker at ubuntu-10-new:~/R/pkgs/rjags$ jags
Welcome to
2012 Sep 20
1
rjags install on Ubuntu 10.04
I have been having trouble with rjags on Ubuntu 10.04
> library(rjags)
Loading required package: coda
Loading required package: lattice
linking to JAGS 3.2.0
module basemod loaded
Error : .onLoad failed in loadNamespace() for 'rjags', details:
call: dyn.load(file)
error: unable to load shared object '/usr/lib/JAGS/modules-3/bugs.so':
/usr/lib/JAGS/modules-3/bugs.so:
2010 Mar 26
1
cacheSweave fails when used in conjunction with rjags
Hi all,
I use the excellent packages rjags and cacheSweave, and unfortunately
seem to have found an incompatibility between them. Below are a
minimal .Rnw file and corresponding JAGS model file which illustrate
the problem:
*** JAGS model file; name=j.bug ***
model {
mu ~ dnorm(0,1.0E-5)
sigma ~ dunif(0,100)
for(i in 1:length(y)) {
y[i] ~ dnorm(mu,sigma)
}
}
***
*** .Rnw
2009 Feb 08
1
Error installing rjags in Ubuntu Linux
Hi,
Here is a step-by-step guide to exactly how I've installed R in Ubuntu:
http://www.nabble.com/installing-R-on-Ubuntu-td10025949.html#a21894865
Regarding rjags, here is what happened:
This webpage
(http://yusung.blogspot.com/2009/01/install-jags-and-rjags-in-fedora.html)
recommends logging into R as sudo R, and then typing:
install.packages("rjags",
2010 Aug 02
2
Including a text file (JAGS model) in an R package
Hello,
I can`t figure out how to include a text file for use in an example in the .Rd help files of an R package I am writing.
I want the examples section of one help file to look like this:
\examples{
# Load the JAGS model
mod <- jags.model("model.txt")
}
The function jags.model tries to read in the file model.txt. So far every time I run R CMD check, I get an error message:
2005 Mar 04
5
bayesmix - What is or where can I find JAGS executable?
Hallo!
I want to use the package bayesmix. Trying the
examples I had no success. The reason is, I think:
> haveJAGS()
[1] FALSE
Have read of JAGS executable (I could not find
JAGS.exe in my R directory). What is JAGS? Where can I
find or download it?
Karl
2009 Apr 30
1
[Fwd: problems installing rjags | tcltk]
Quick followup. Confirmed that TCl/Tk are both installed on the machine
(they are, in both 32- and 64-bit flavours), as are all tcl and
tk-related libs, devel packages, and about everything else I could find.
It occurred to me that perhaps the R I compiled isn't 'tcltk' aware. I
checked the config.log, and there is some hint that this might be the
case. Just before ## File
2011 Aug 11
1
R crashes when communicating with JAGS
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 under Windows 7.
Here's the problem. I have some source code. It's given below -