Hi Seb,
Sorry, I seem to have missed this folder for two or three days...
On 3 May 2010 at 22:13, Sebastian P. Luque wrote:
| 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")
| Warning in install.packages("rjags", configure.args =
"--with-jags-modules=/usr/lib/JAGS/modules-2.0.0") :
| argument 'lib' is missing: using
'/usr/local/lib/R/site-library'
| trying URL
'http://probability.ca/cran/src/contrib/rjags_1.0.3-13.tar.gz'
| Content type 'application/x-gzip' length 100865 bytes (98 Kb)
| opened URL
| =================================================| downloaded 98 Kb
|
| * installing *source* package ?rjags? ...
| checking for prefix by checking for jags... /usr/bin/jags
| configure: creating ./config.status
| config.status: creating src/Makevars
| configure: creating ./config.status
| config.status: creating src/Makevars
| config.status: creating R/unix/zzz.R
| ** libs
| g++ -I/usr/share/R/include -I/usr/include/JAGS -fpic -g -O2 -c jags.cc -o
jags.o
| jags.cc: In function ?SEXPREC* set_default_monitors(SEXPREC*, SEXPREC*,
SEXPREC*)?:
| jags.cc:427: error: ?class Console? has no member named ?setDefaultMonitors?
| jags.cc: In function ?SEXPREC* clear_default_monitors(SEXPREC*, SEXPREC*)?:
| jags.cc:444: error: ?class Console? has no member named ?clearDefaultMonitors?
| jags.cc: In function ?SEXPREC* get_monitored_values(SEXPREC*, SEXPREC*)?:
| jags.cc:456: error: no matching function for call to
?Console::dumpMonitors(std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, SArray,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<const
std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, SArray> > >&,
std::map<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, unsigned int,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<const
std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, unsigned int> > >&, const char*)?
| /usr/include/JAGS/Console.h:191: note: candidates are: bool
Console::dumpMonitors(std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, SArray,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<const
std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, SArray> > >&, const
std::string&, bool)
| make: *** [jags.o] Error 1
| ERROR: compilation failed for package ?rjags?
| * removing ?/usr/local/lib/R/site-library/rjags?
| * restoring previous ?/usr/local/lib/R/site-library/rjags?
|
| The downloaded packages are in
| ?/tmp/RtmpdwNfgV/downloaded_packages?
| Warning message:
| In install.packages("rjags", configure.args =
"--with-jags-modules=/usr/lib/JAGS/modules-2.0.0") :
| installation of package 'rjags' had non-zero exit status
| ---<--------------------cut
here---------------end--------------------->---
|
| Has anybody been had success installing rjags while using the Debian
| jags package? It seems as if I'm missing some 'configure.args'.
I think when I updated jags to 2.0.0, I also noticed an updated rjags package
(which I am not debianising). So try Martyn's site instead:
that is
http://www-fis.iarc.fr/~martyn/software/jags/
or equally
https://sourceforge.net/projects/mcmc-jags/files/
instead of the (possibly stale) version at CRAN. CCing Martyin just in
case...
--
Regards, Dirk