[Rd] [Fwd: problems installing rjags | tcltk]

egc cooch17 at verizon.net
Thu Apr 30 18:00:05 CEST 2009

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 substitutions ## I see


Further upstream in the config.log, I see

configure:42914: checking for tcl.h
conftest.c:204:17: error: tcl.h: No such file or directory   







So, it seems as if my self-rolled R isn't  TCLTK 'aware'. Is simply adding


to my configure call (i.e.,

./configure --with-lapack="-L/usr/lib64" 
--with-blas="-L/opt/acml4.2.0/gfortran64/lib -lacml" --with-tcltk

the solution? I figure worth asking before I literally 'start over'. I 
see from the manual for linux installs there may be some issues with 
playing nice if both 32- and 64-bit versions of Tcl/Tk are installed.

-------- Original Message --------
Subject: 	[Rd] problems installing rjags | tcltk
Date: 	Thu, 30 Apr 2009 11:26:43 -0400
From: 	egc <cooch17 at verizon.net>
To: 	r-devel at r-project.org


Running Fedora Cora 8 on multi-Opteron system - full 32- and 64-bit libs 
installed (R compiled 64-bit on this machine). R 2.9.0 - libs sitting in 
/usr/local/lib64/R/library. Trying to install JAGS, with rjags. Partial 

For JAGS install:

|./configure --with-jags-modules=/usr/local/lib/JAGS/modules 
make check
make install

Seems to work / no config or make errors, and jags fires up fine when I 
invoke it.

Problems start with rjags. Download latest tarball, and try

|| R --with-jags-modules=/usr/local/lib/JAGS/modules/ CMD INSTALL 

||Here is the relevant part of the error messages I get:

** Preparing for lazy loading
Loading required package: lattice
Error: package 'tcltk' does not have a name space
ERROR: lazy loading failing for package 'rjags'
|*  Removing '/usr/local/lib64/R/library/rjags'

No idea what to do now. Only tcltk-like package I see is tcltk2. Tried 
installing it, get the following error:

Error in library(pkg, character.only=TRUE, logical.return=TRUE, 
lib.loc-lib.loc) :
'tcltk' is not a valid installed package.
ERROR: lazy loading failed for package 'tcltk2'

So, I'm stumped.

	[[alternative HTML version deleted]]

R-devel at r-project.org mailing list

More information about the R-devel mailing list