Hello, It is not an R issue but a Linux issue. Please check you have tcl/tk installed on your system.
Best Regards, Pascal ----- Mail original ----- De : John <j...@surewest.net> À : r-help@r-project.org Cc : Envoyé le : Samedi 9 juin 2012 18h36 Objet : [R] Error when attempting to install tkrplot I am getting following error when attempting to install the tkrplot package. ... gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -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’ ... My session information is: R version 2.15.0 (2012-03-30) 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 [4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=C LC_NAME=C LC_ADDRESS=C [10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] fortunes_1.5-0 loaded via a namespace (and not attached): [1] tools_2.15.0 The capabilities(tcltk) query yields TRUE. Searching the /usr tree does not locate any file "tk.h." JWDougherty ______________________________________________ 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.