[R] R and WinBUGS (via R2WinBUGS) error

2009-01-20 Thread Lindsay Stirton
, dir = getwd(), digits) 1: bugs(data = "Wednesbury.data", inits = "Wednesbury.inits", parameters = "Wednesbury.parameters", model.file = "p:/Wednesbury09/Wednesbury.bug", n.chains = 1, n.burnin = 1000, n.sims = 1, bugs.directory = &quo

[R] WinBUGS with R

2009-01-19 Thread Lindsay Stirton
Dear UseRs, I am having some problems using R with WinBUGS using the R2WinBUGS package. Specifically, when I try to run bugs() I get the following message. Error in FUN(X[[1L]], ...) : .C(..): 'type' must be "real" for this format To give a little more context, my bugs() command (for a mu

Re: [R] Trying to install rjags on Mac OS X 10.5 -- problem solved

2008-01-02 Thread Lindsay Stirton
of pkg-config, and R for some reason didn't seam to like this. After that, sudo R CMD INSTALL rjags_1.0.1-1.tar.gz worked fine. Best wishes, Lindsay Stirton __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Trying to install rjags on Mac OS X 10.5

2007-12-31 Thread Lindsay Stirton
e' dir for the line example that does not use rjags. > > A dependency I ran into was coda v 13.1, as of a couple of days ago > not available as a binary package, > but available as a source package on CRAN. > > Rob > > On Dec 30, 2007, at 8:27 AM, Lindsay Stirton wrot

Re: [R] Trying to install rjags on Mac OS X 10.5

2007-12-30 Thread Lindsay Stirton
ources/library/rjags' Macintosh:Desktop ljs$ Would I be right in thinking that the problem is not in fiding the path to pkg-config but in finding JAGS? I have Macintosh:Desktop ljs$ which jags /usr/local/bin/jags Best wishes, Lindsay Stirton ___

[R] Trying to install rjags on Mac OS X 10.5

2007-12-30 Thread Lindsay Stirton
/local/bin/jags Macintosh:Desktop ljs$ echo $PKG_CONFIG_PATH /usr/local/bin I should say that I had many other problems along the way--gfortran not originally installed properly, R CMD INSTALL couldn't find pkg-config. However, the above description shows the problems remaining even af