[R] tcltk_package

Prof Brian D Ripley ripley at stats.ox.ac.uk
Thu Jul 20 20:45:03 CEST 2000

On Thu, 20 Jul 2000, Jason Fisher wrote:

> Hello...
> I'm having problems getting the "tcltk" package to run
> within a recently installed version of R  (R1.10 for Windows95).
> >library(tcltk)
> Error in firstlib(which.lib.loc, package) :
>         TCL_LIBRARY is not set
> Error in library(tcltk) : .First.lib failed

>From the CHANGES file:

   Optional support for the Tcl/Tk interface.  To use this you need to
   install tcl831.exe from dev.scriptics.com, and you will need the Tcl
   and Tk dlls in your path.  Also, you need to set the environment
   variable TCL_LIBRARY, to something like c:/Program Files/Tcl/lib/tcl8.3.
   The demos(tk*) will work on Windows.

How you set environment variables is Windows-system-specific, but you can
set this on the command line or in a .Renviron file on any Windows system.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list