Skip to content

Probblems with loading the tcltk library

5 messages · Beat Huggler, Brian Ripley, Christian Schulz

#
Hi guys

Recently a wanted to look at the opotunities which are suported by the
labrary of tcltk. Unfortunatly I couldn't load the library and it
occured the following error message:

Error in firstlib(which.lib.loc, package) : 
        TCL_LIBRARY is not set
Error in library(pkg, character.only = TRUE) : 
        .First.lib failed

I've tried to load it in sveral ways. I reinstalt the this library bud
nothing happend. What is the problem and how can I solve it??

An other question how can I define a function so that this function can
be used outside of the workspace in which it has been implemented. Is
there any possibility to safe a single function?? And how can I do it??

I would like to say thankyou for you help

Best regards

Beat Huggler


---
Beat Huggle
Quantitative Analysis
RMF Investment Products
Huobstrasse 16
8808 Pfaeffikon SZ
Switzerland
www.rmf.ch
Tel. +41 55 415 87 30
Fax +41 55 415 87 07

This message and any attachment are confidential and may be privileged
or otherwise protected from disclosure.  If you are not the intended
recipient, please telephone or email the sender and delete this message
and any attachment from your system.  If you are not the intended
recipient you must not copy this message or attachment or disclose the
contents to any other person.

 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Wed, 6 Feb 2002, Beat Huggler wrote:

            
It appears that this was under Windows and you have not set TCL_LIBRARY.
That *is* in the README, and also in the rw-FAQ.
With save().
1 day later
#
Prof Brian Ripley wrote:

            
I have got the same problems, but use this :
Sys.putenv("TCL_LIBRARY"="c:/Tcl/lib/tcl83")
where my TCL/TK  is installed and  set in my win2000  the same folder to 
the path row !?

...than i get this message:

 Error in dyn.load(x, as.logical(local), as.logical(now)) :
        unable to load shared library 
"D:/Statsoft/rw1041/library/tcltk/libs/tcltk.dll":
  LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.
Error in library(tcltk) : .First.lib failed

thanks for advance &
regards,Christian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20020207/6f963253/attachment.html
#
On Thu, 7 Feb 2002, Christian Schulz wrote:

            
That's not the value suggested in the README and rw-FAQ: it ends tcl8.3.
My guess is that c:/Tcl/bin is not in the path being seen by Rgui.
1 day later
#
...i do this  tcl83, because in my tcl/lib folder is only the tcl83.lib, 
but when i change it like
your suggestion  - it works !

Many  Thanks, Christian Schulz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20020208/684ee886/attachment.html