Re: [R] Problem with tcltk

From: Peter Langfelder <>
Date: Fri, 04 Mar 2011 11:50:42 -0800

On Fri, Mar 4, 2011 at 8:02 AM, Arnaud Mosnier <> wrote:
> Dear all,
> Since I installed the x64 version of R (v2.12.1), I got a problem with tcltk
> that I did not achieve to resolve.
> When loading the library, it gives me the following error message:
> 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:/PROGRA~1/R/R-212~1.1/
> library/tcltk/libs/x64/tcltk.dll':
>  LoadLibrary failure:  This application has failed to start because the
> application configuration is incorrect. Reinstalling the application may fix
> this problem.
> Error: package/namespace load failed for 'tcltk'

> Any suggestions ?

As the hint said, try installing or re-installing Tcl/Tk (outside of R). Note that you may need the 64-bit version of it. The R package tcltk is only an interface to the actual Tcl/Tk that is a toolkit (library) that lives outside of R.

HTH, Peter mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 04 Mar 2011 - 19:53:14 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 04 Mar 2011 - 20:30:18 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive