Hi ho folks: I'm running the indicated version of R on Hardy Heron Ubuntu.
(Yes, I am quite aware that it is considered old news but then I don't run the "latest and greatest" computer gear. I've tried both Gnome and KDE editions of Ubuntu Lynx and even a current run of Fedora. I find Heron simply works better on my machine.) When I try to install RcmdrPlugin.PT most of the components went on okay but I get the following output trying to install tkrplot. Need help interpreting it. Is there something I'm missing in my setup that will solve this if installed, or am I SOL trying to include this plugin? Any input would be helpful and much appreciated. R version 2.13.1 (2011-07-08) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > install.packages() Loading Tcl/Tk interface ... done --- Please select a CRAN mirror for use in this session --- Installing package(s) into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) also installing the dependency ‘tkrplot’ trying URL 'http://www.stats.bris.ac.uk/R/src/contrib/tkrplot_0.0-22.tar.gz' Content type 'application/x-gzip' length 38784 bytes (37 Kb) opened URL ================================================== downloaded 37 Kb trying URL 'http://www.stats.bris.ac.uk/R/src/contrib/RcmdrPlugin.PT_1.0.tar.gz' Content type 'application/x-gzip' length 7648 bytes opened URL ================================================== downloaded 7648 bytes * installing *source* package ‘tkrplot’ ... configure: creating ./config.status config.status: creating src/Makevars ** libs gcc -I/usr/share/R/include -I/usr/include/tcl8.5 -I/usr/include/tcl8.5 -fpic -std=gnu99 -O3 -pipe -g -c tcltkimg.c -o tcltkimg.o tcltkimg.c:2:16: error: tk.h: No such file or directory tcltkimg.c:103: error: expected specifier-qualifier-list before ‘Tcl_Interp’ tcltkimg.c:114: error: expected specifier-qualifier-list before ‘Tk_Window’ tcltkimg.c: In function ‘GetRplotImage’: tcltkimg.c:164: error: ‘TCL_ERROR’ undeclared (first use in this function) tcltkimg.c:164: error: (Each undeclared identifier is reported only once tcltkimg.c:164: error: for each function it appears in.) tcltkimg.c:168: error: ‘TCL_OK’ undeclared (first use in this function) tcltkimg.c: In function ‘CreateRplot’: tcltkimg.c:193: error: expected declaration specifiers before ‘Tcl_Interp’ tcltkimg.c:196: error: expected declaration specifiers before ‘Tcl_Obj’ tcltkimg.c:198: error: expected declaration specifiers before ‘Tk_ImageType’ tcltkimg.c:199: error: expected declaration specifiers before ‘Tk_ImageMaster’ tcltkimg.c:200: error: expected declaration specifiers before ‘ClientData’ tcltkimg.c:201: warning: type of ‘interp’ defaults to ‘int’ tcltkimg.c:201: warning: type of ‘objv’ defaults to ‘int’ tcltkimg.c:201: warning: type of ‘typePtr’ defaults to ‘int’ tcltkimg.c:201: warning: type of ‘master’ defaults to ‘int’ tcltkimg.c:201: warning: type of ‘clientDataPtr’ defaults to ‘int’ tcltkimg.c:206: warning: implicit declaration of function ‘Tcl_AppendResult’ tcltkimg.c:207: error: ‘TCL_ERROR’ undeclared (first use in this function) tcltkimg.c:215: error: ‘RplotMaster’ has no member named ‘Rdevice’ tcltkimg.c:218: error: ‘RplotMaster’ has no member named ‘Rdevice’ tcltkimg.c:218: error: ‘RplotMaster’ has no member named ‘image’ tcltkimg.c:219: error: ‘RplotMaster’ has no member named ‘width’ tcltkimg.c:219: error: ‘RplotMaster’ has no member named ‘height’ tcltkimg.c:219: error: ‘TCL_OK’ undeclared (first use in this function) tcltkimg.c:225: warning: implicit declaration of function ‘ckalloc’ tcltkimg.c:226: error: ‘RplotMaster’ has no member named ‘interp’ tcltkimg.c:227: error: ‘RplotMaster’ has no member named ‘Rdevice’ tcltkimg.c:227: error: ‘RplotMaster’ has no member named ‘Rdevice’ tcltkimg.c:228: error: ‘RplotMaster’ has no member named ‘haveImage’ tcltkimg.c:229: error: ‘RplotMaster’ has no member named ‘image’ tcltkimg.c:229: error: ‘RplotMaster’ has no member named ‘image’ tcltkimg.c:230: error: ‘RplotMaster’ has no member named ‘width’ tcltkimg.c:230: error: ‘RplotMaster’ has no member named ‘width’ tcltkimg.c:231: error: ‘RplotMaster’ has no member named ‘height’ tcltkimg.c:231: error: ‘RplotMaster’ has no member named ‘height’ tcltkimg.c:232: error: ‘RplotMaster’ has no member named ‘instanceCount’ tcltkimg.c:233: error: ‘RplotMaster’ has no member named ‘master’ tcltkimg.c:234: error: invalid type argument of ‘unary *’ tcltkimg.c:234: error: ‘ClientData’ undeclared (first use in this function) tcltkimg.c:234: error: expected ‘;’ before ‘prpm’ tcltkimg.c: At top level: tcltkimg.c:257: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GetRplot’ tcltkimg.c:259: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘masterData’ tcltkimg.c:260: error: expected identifier or ‘(’ before ‘{’ token tcltkimg.c: In function ‘DisplayRplot’: tcltkimg.c:300: error: expected declaration specifiers before ‘ClientData’ tcltkimg.c:307: warning: type of ‘clientData’ defaults to ‘int’ tcltkimg.c:320: warning: implicit declaration of function ‘Tk_Depth’ tcltkimg.c:320: error: ‘RplotInstance’ has no member named ‘tkwin’ tcltkimg.c:326: warning: implicit declaration of function ‘Tk_GetPixmap’ tcltkimg.c:326: warning: implicit declaration of function ‘Tk_WindowId’ tcltkimg.c:326: error: ‘RplotInstance’ has no member named ‘tkwin’ tcltkimg.c:328: warning: implicit declaration of function ‘Tk_GetGC’ tcltkimg.c:328: error: ‘RplotInstance’ has no member named ‘tkwin’ tcltkimg.c:328: warning: assignment makes pointer from integer without a cast tcltkimg.c:329: error: ‘RplotMaster’ has no member named ‘image’ tcltkimg.c:330: warning: implicit declaration of function ‘Tk_FreeGC’ tcltkimg.c:334: error: ‘RplotInstance’ has no member named ‘tkwin’ tcltkimg.c:334: warning: assignment makes pointer from integer without a cast tcltkimg.c:342: warning: implicit declaration of function ‘Tk_FreePixmap’ tcltkimg.c: In function ‘FreeRplot’: tcltkimg.c:365: error: expected declaration specifiers before ‘ClientData’ tcltkimg.c:367: warning: type of ‘clientData’ defaults to ‘int’ tcltkimg.c:371: error: ‘RplotMaster’ has no member named ‘instanceCount’ tcltkimg.c:372: warning: implicit declaration of function ‘ckfree’ tcltkimg.c: In function ‘DeleteRplot’: tcltkimg.c:394: error: expected declaration specifiers before ‘ClientData’ tcltkimg.c:395: warning: type of ‘masterData’ defaults to ‘int’ tcltkimg.c:398: error: ‘RplotMaster’ has no member named ‘instanceCount’ tcltkimg.c:399: warning: implicit declaration of function ‘panic’ tcltkimg.c:401: error: ‘RplotMaster’ has no member named ‘haveImage’ tcltkimg.c:405: error: ‘RplotMaster’ has no member named ‘image’ tcltkimg.c:405: error: ‘RplotMaster’ has no member named ‘image’ tcltkimg.c: At top level: tcltkimg.c:440: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RplotImageType’ tcltkimg.c: In function ‘Rplot_Init’: tcltkimg.c:451: error: expected declaration specifiers before ‘Tcl_Interp’ tcltkimg.c:452: warning: type of ‘interp’ defaults to ‘int’ tcltkimg.c:454: error: ‘CONST’ undeclared (first use in this function) tcltkimg.c:454: error: expected ‘;’ before ‘char’ tcltkimg.c:456: error: ‘version’ undeclared (first use in this function) tcltkimg.c:456: warning: implicit declaration of function ‘Tcl_PkgRequire’ tcltkimg.c:456: error: ‘TCL_VERSION’ undeclared (first use in this function) tcltkimg.c:457: error: ‘TCL_ERROR’ undeclared (first use in this function) tcltkimg.c:458: error: ‘TK_VERSION’ undeclared (first use in this function) tcltkimg.c:458: warning: comparison between pointer and integer tcltkimg.c:463: warning: implicit declaration of function ‘Tk_CreateImageType’ tcltkimg.c:463: error: ‘RplotImageType’ undeclared (first use in this function) tcltkimg.c:465: warning: implicit declaration of function ‘Tcl_PkgProvide’ tcltkimg.c: In function ‘Rplot_SafeInit’: tcltkimg.c:469: error: expected declaration specifiers before ‘Tcl_Interp’ tcltkimg.c:470: warning: type of ‘interp’ defaults to ‘int’ make: *** [tcltkimg.o] Error 1 ERROR: compilation failed for package ‘tkrplot’ * removing ‘/usr/local/lib/R/site-library/tkrplot’ ERROR: dependency ‘tkrplot’ is not available for package ‘RcmdrPlugin.PT’ * removing ‘/usr/local/lib/R/site-library/RcmdrPlugin.PT’ The downloaded packages are in ‘/tmp/Rtmp4tjo0X/downloaded_packages’ Warning messages: 1: In install.packages() : installation of package 'tkrplot' had non-zero exit status 2: In install.packages() : installation of package 'RcmdrPlugin.PT' had non-zero exit status > -- Brian Lunergan Nepean, Ontario Canada _______________________________________________ R-SIG-Debian mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-debian

