On 30.03.2012 05:48, mrzung wrote:
> Hi,
>
> I saved an image and planed to open it whenever I want to load it.
> However, when I open it, It doesn't work.
> The code is following, and saved it as an image.
>
> .First<-function(){
> require(tcltk)
> require(TeachingDemos)
> library(gWidgetstcltk)
> options(guiToolkit = "tcltk")
> win<- gwindow("Don't worry", visible = FALSE)
> }
>
> Error message is following,
>
> Error : .onLoad failed in loadNamespace() for 'tcltk2', details:
> call: .tk2dde.require()
> error: Unable to find the 'dde' Tcl/tk package!
> Warning messages:
> 1: In tclRequire("dde") : Tcl package 'dde' not found
> 2: In tclRequire("dde", warn = TRUE) : Tcl package 'dde' not found
> Failed with error: ‘package ‘tcltk2’ could not be loaded’
>
> Loading required package: gWidgetstcltk
> Loading required package: tcltk2
> Error : .onLoad failed in loadNamespace() for 'tcltk2', details:
> call: .tk2dde.require()
> error: Unable to find the 'dde' Tcl/tk package!
> Warning messages:
> 1: In tclRequire("dde") : Tcl package 'dde' not found
> 2: In tclRequire("dde", warn = TRUE) : Tcl package 'dde' not found
> Failed with error: ‘package ‘tcltk2’ could not be loaded’
> Loading required package: gWidgetstcltk
> Loading required package: tcltk2
> Error : .onLoad failed in loadNamespace() for 'tcltk2', details:
> call: .tk2dde.require()
> error: Unable to find the 'dde' Tcl/tk package!
> Failed with error: ‘package ‘tcltk2’ could not be loaded’
> Warning messages:
> 1: In tclRequire("dde") : Tcl package 'dde' not found
> 2: In tclRequire("dde", warn = TRUE) : Tcl package 'dde' not found
>
> How can I solve the problem?
The error messages above suggest it roughly 10 times: Fix your Tcl
isntalltion and add the "dde" package?
Uwe Ligges
______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide
http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code.