[R] Still find the error in loading the tk-library
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Oct 31 14:18:06 CET 2000
> Date: Tue, 31 Oct 2000 20:19:31 +0800
> From: "Patrick Yuk-lun Ma M.D. / BV5DD" <bv5ddma at mail.educities.edu.tw>
> Dear Sir,
> I do find the same error in the following, may someone help me how
> to solve it when I run the demo(tkttest)
> ---- ~~~~~~~
> Type <Return> to start :
> > require(tcltk) || stop("tcltk support is absent")
> Loading required package: tcltk
> Error in firstlib(which.lib.loc, package) :
> TCL_LIBRARY is not set
I strongly suspect you are on Windows, although you do not say so.
If so, CHANGES says:
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.
(tcl832.exe will also work.) That should answer your problem
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