[R] Loading tcltk package fails on both Rterm and Rgui

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Mar 6 20:13:59 CET 2002


On Wed, 6 Mar 2002, David Lucy wrote:

> Dear all,
>
> > % R --vanilla
> >
> > > library(tcltk)
> > Error in dyn.load(x, as.logical(local), as.logical(now)) :
> >   unable to load shared library
> >      "C:/PROGRA~1/R/RW1041/library/tcltk/libs/tcltk.dll":
> >   LoadLibrary failure:  One of the library files needed to run this
> > application cannot be found.
> > Error in library(tcltk) : .First.lib failed
>
> I'm getting exactly this on an ancient installation of Win95, but
> this time in both Rgui and Rterm. I did more or less the same things,
> but got the same result.
>
> > but the same error. As I said, this works fine with Rgui. Any ideas?
>
> more or less the same sentiment, except the Rgui bit. I have had it
> working on Win98 and Win2000 installations with no problems. Baffling.

And the answer is the same: re-read rw-FAQ Q3.6 and re-check your path.
Winmdows will find the tcl/tk DLLs if *and only if* they are in the path.

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