Skip to content
Prev 262775 / 398502 Next

Still have problems with tcltk in R 64 bit

I was pretty sure to have installed tcltk files for 64 bit from the
installer, but to be sure ...
- I removed previously created Environment variables (MY_TCLTK)
- I reinstalled R one more time ...  this time with the "full
installation" option

and ... it does not work (still works with R 32bit) !

- I also tried to define directly the path to the tcl version included
with R ... as the code you provided does ... thus MY_TCLTK =
C:\Program Files\R\R-2.13.0\Tcl\bin64

... still the same error in R 64 bit, and if I want to load tcltk in R
32, it gives me the following error (normal ... it tried to load a 64
bit application in a 32 bit environment).

Loading Tcl/Tk interface ...Error : .onLoad failed in loadNamespace()
for 'tcltk', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 'C:/Program
Files/R/R-2.13.0/library/tcltk/libs/i386/tcltk.dll':
  LoadLibrary failure:  %1 is not a valid Win32 application.

Error: package/namespace load failed for 'tcltk'

I believe that the problem may come from the tcltk.dll file but I do
not understand how it can be broken each time when I installed other
versions ...

Arnaud


2011/6/15 Uwe Ligges <ligges at statistik.tu-dortmund.de>: