Hi Mark,
What command did you use exactly to install the package ?
The following blog post by Yu-Sung Su
http://yusung.blogspot.com/2009/01/install-jags-and-rjags-in-fedora.html
indicates that some configure.args might need to be set to
succesfully install the package (at least on Fedora 10)
install.packages("rjags",
configure.args="--with-jags-include=/usr/local/include/JAGS
--with-jags-lib=/usr/local/lib/JAGS
--with-jags-modules=/usr/local/lib/JAGS/modules")
The fact that in the error message complains some files are
not found might have to do with one of the appropriate paths
not being picked up.
HTH,
Tobias
markle...@verizon.net wrote:
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 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
g++ -m32 -I/usr/include/R -I/usr/include/JAGS -I/usr/local/include  Â
-fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -c jags.cc -o jags.o
jags.cc:8:21: error Console.h No such file or directory
jags.cc:9:24: error: util/naing.h: No such file or directory
jags.cc:20: error: 'SArray' was not declared in this scope
jags.cc:21: error expected ',' or ';' before { token
R version 2.9.0 (2009-04-17)
i386-redhat-linux-gnu
locale:
LC_CTYPE=en_US.utf8;LC_NUMERIC=C;LC_TIME=en_US.utf8;LC_COLLATE=en_US.utf8;LC
_MONETARY=C;LC_MESSAGES=en_US.utf8;LC_PAPER=en_US.utf8;LC_NAME=C;LC_ADDRESS=
C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.utf8;LC_IDENTIFICATION=C
attached base packages:
[1] datasets utils    stats    graphics grDevices methods Â
base   Â
other attached packages:
 [1] gsubfn_0.3-8      proto_0.3-8       latticeExtra_0.5-4
RColorBrewer_1.0-2 filehash_2.0-1Â Â Â Â reshape_0.8.2Â Â Â Â Â
plyr_0.1.8Â Â Â Â Â Â Â Â rOpenBUGS_0.0-1Â Â Â caret_4.19Â Â Â Â Â Â Â
[10] dyn_0.2-8Â Â Â Â Â Â Â Â Â coda_0.13-4Â Â Â Â Â Â Â
lattice_0.17-22Â Â Â zoo_1.5-5Â Â Â Â Â Â Â Â Â chron_2.3-30Â Â Â Â Â Â
MASS_7.2-46Â Â Â Â Â Â
loaded via a namespace (and not attached):
[1] grid_2.9.0
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.