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' The same occur with a freshly installed R 2.12.2 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.2/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 ? Arnaud [[alternative HTML version deleted]]
On Fri, Mar 4, 2011 at 8:02 AM, Arnaud Mosnier <a.mosnier at gmail.com> 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