[R-sig-Debian] tkrplot does not install

Stefan Th. Gries
Sun, 06 Nov 2011 16:07:14 -0000

Hi all

I am running R 2.14.0 on Linux Mint 11 and want to use TeachingDemos
but cannot update tkrplot. This is what happens:

###############
In order to run * installing *source* package ?tkrplot? ...
configure: creating ./config.status
config.status: creating src/Makevars
** libs
gcc -std=gnu99 -I/usr/share/R/include -I/usr/include/tcl8.5
-I/usr/include/tcl8.5     -fpic  -O3 -pipe  -g -c tcltkimg.c -o
tcltkimg.o
tcltkimg.c:2:16: fatal error: tk.h: No such file or directory
compilation terminated.
make: *** [tcltkimg.o] Error 1
ERROR: compilation failed for package ?tkrplot?
* removing ?/usr/local/lib/R/site-library/tkrplot?
###############

This is my session info

###############
R version 2.14.0 (2011-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
 [6] LC_MESSAGES=en_US.UTF-8    LC_PAPER=C                 LC_NAME=C
               LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
###############

and my R.Version

###############
platform       x86_64-pc-linux-gnu
arch           x86_64
os             linux-gnu
system         x86_64, linux-gnu
status
major          2
minor          14.0
year           2011
month          10
day            31
svn rev        57496
language       R
version.string R version 2.14.0 (2011-10-31)
###############

Any ideas?
Thx,
STG