[R] Probblems with loading the tcltk library

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Feb 6 09:18:44 CET 2002


On Wed, 6 Feb 2002, Beat Huggler wrote:

>
> 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??

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.

> 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??

With save().

-- 
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