Dear R users, Since a long time now, I have the following error when I want to load the tcltk library in R 64 bit. 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/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' sessionInfo() gives R version 2.13.0 (2011-04-13) Platform: x86_64-pc-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252 [3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C [5] LC_TIME=English_Canada.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_2.13.0 The problem does not occur with the 32 bit version of R, thus, it is probably linked to the 64 version of Tcltk... I already tried: - to uninstall then reinstall R (changing version too...) - install ActiveTcl8.5.9.2.294317-win32-x86_64-threaded.exe (I also tried installing previous version of ActiveTcl) ... without results ! "Reinstalling the application may fix this problem" ... I agree, but what should I reinstall ? Any suggestions ? Arnaud
Still have problems with tcltk in R 64 bit
2 messages · Arnaud Mosnier, Adrienne Wootten
Arnaud, I've had a similar problem with several packages in R 2.13.0 recently, which was more caused because the package installation failed in the new version. Judging from the error messages you have up here, I'd guess that it's a similar problem surrounding the package installation, specifically that something happened which may have damaged the .dll file. So to answer your last question, I'd try re-installing the Tcl/Tk package and see if that fixes the problem. Adrienne
Adrienne Wootten Graduate Research Assistant State Climate Office of North Carolina Department of Marine, Earth and Atmospheric Sciences North Carolina State University On Tue, Jun 14, 2011 at 11:46 AM, Arnaud Mosnier <a.mosnier at gmail.com> wrote: > Dear R users, > > > Since a long time now, I have the following error when I want to load > the tcltk library in R 64 bit. > > > 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/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' > > > sessionInfo() gives > > R version 2.13.0 (2011-04-13) > Platform: x86_64-pc-mingw32/x64 (64-bit) > > locale: > [1] LC_COLLATE=English_Canada.1252 ?LC_CTYPE=English_Canada.1252 > [3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C > [5] LC_TIME=English_Canada.1252 > > attached base packages: > [1] stats ? ? graphics ?grDevices utils ? ? datasets ?methods ? base > > loaded via a namespace (and not attached): > [1] tools_2.13.0 > > > The problem does not occur with the 32 bit version of R, thus, it is > probably linked to the 64 version of Tcltk... > > I already tried: > - ?to uninstall then reinstall R (changing version too...) > - ?install ActiveTcl8.5.9.2.294317-win32-x86_64-threaded.exe (I also > tried installing previous version of ActiveTcl) > > ... without results ! > > ?"Reinstalling the application may fix this problem" ?... I agree, but > what should I reinstall ? > > Any suggestions ?? > > Arnaud > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >