[Rd] R292 and tcl/tk

From: Chuck White <chuckwhite8_at_charter.net>
Date: Mon, 02 Nov 2009 11:50:16 -0500


BACKGROUND

      R2.9.2 built on  power5 aix5.3 using gcc 4.2.4   (also installed: tcl and tk 8.5.7)
     Access from a Windows XP machine using Exceed v9.0, aixterm (DISPLAY etc. setup)

    export LDFLAGS="-L/usr/lib64 -L/opt/freeware/lib64 -L/opt/freeware/64/lib -L/usr/X11R6/lib -L/opt/freeware/lib"     export CPPFLAGS="-I/opt/freeware/include -I/usr/lpp/X11/include/X11"

CONFIGURATION 1 (with tcl/tk)
 ../R-2.9.2/configure --enable-R-shlib --enable-BLAS-shlib --with-tcl-config=/opt/freeware/lib64/tclConfig.sh --with-tk-config=/opt/freeware/lib64/tkConfig.sh --prefix=/usr/local/R-2.9.2 > config_292.log 2>&1

> update.packages()

--- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ...

Traceback:

  1. .C("tcltk_init", PACKAGE = "tcltk")
  2. fun(...)
  3. doTryCatch(return(expr), name, parentenv, handler) ...............
  4. tryCatch(asNamespace(pkg), hasNoNamespaceError = function(e) NULL)
  5. tcltk::tk_select.list
  6. menu(m[, 1L], graphics, "CRAN mirror")
  7. chooseCRANmirror()
  8. contrib.url(repos, type)
  9. available.packages(contriburl = contriburl, method = method)
  10. update.packages()

CONFIGURATION 2 (without tcl/tk)

../R-2.9.2/configure --enable-R-shlib --enable-BLAS-shlib --with-tcltk=no --prefix=/usr/local/R-2.9.2 > config_292.log 2>&1 ; make > make_292.log 2>&1

> update.packages()

--- Please select a CRAN mirror for use in this session --- CRAN mirror  

  1. Argentina (Buenos Aires) 2: Australia
  2. Austria 4: Belarus
  3. Belgium 6: Brazil (PR)

QUESTION
1. Are there any known issues with tcl/tk? Should I be doing anything different in the configuration? 2. When I try a simple plot command in either configuration (eg. plot(sin, -pi, pi)), the plot window shows up immediately on my machine but the plot itself takes all of two minutes to draw. I am not sure if the two issues are related.

I would appreciate any help with this. Thanks.



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 02 Nov 2009 - 16:53:16 GMT

This archive was generated by hypermail 2.2.0 : Sat 07 Nov 2009 - 14:10:22 GMT