Patrick Yuk-lun Ma M.D. / BV5DD
2000-Oct-31 12:19 UTC
[R] Still find the error in loading the tk-library
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)
demo(tkttest)
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
Error in eval.with.vis(expr, envir, enclos) :
tcltk support is absent> library(tcltk)
Error in firstlib(which.lib.loc, package) :
TCL_LIBRARY is not set
Error in library(tcltk) : .First.lib failed
Yuk-lun Ma
===========================SayHi Free ISP
http://www.sayhi.net
===========================
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian Ripley
2000-Oct-31 13:18 UTC
[R] Still find the error in loading the tk-library
> 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) > > demo(tkttest) > > > 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 setI 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Patrick Yuk-lun Ma M.D. / BV5DD
2000-Oct-31 20:06 UTC
[R] Still find the error in loading the tk-library
Dear Sir,
Thanks for all, finally I found what happened and it works after the
installation of tcl831.exe downloading from dev.scriptics.com
Thanks again!
Yuk-lun Ma
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)
>
> demo(tkttest)
>
>
> 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
===========================SayHi Free ISP
http://www.sayhi.net
===========================
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._