search for: tk_getopenfil

Displaying 9 results from an estimated 9 matches for "tk_getopenfil".

Did you mean: tk_getopenfile
2007 Jul 05
4
Me again, about the horrible documentation of tcltk
How on Earth can I know what are the arguments of any of the functions of the tcl/tk package? I tried hard to find, using all search engines available, looking deep into keywords of R, python's tkinter and tcl/tk, but nowhere I found anything remotely similar to a help. For example, what are the possible arguments to tkgetOpenFile? I know that this works: library(tcltk) filename <-
2002 Feb 11
0
read.table in TCL/TK interface
hello, i would like program userfriendly tcl/tk widgets like the t-test example in a more complex way ! (1) Is it not possible to combine tk_getOpenFile with the R function read.table to select in userfriendly way data sets ? (I'm newbie and take code-parts from t-test example and scripting example.) (2) Is it possible to use a variableSelection widget to select a special variable which i can use to replace in R commands like: rpart( sele...
2003 Aug 15
1
menubutton don´t work
...I intend to charge the direccion of open files in a vector and then to elect with the menubutton with which to work but not functions thanks.Ruben library(tcltk) arch<-tclVar(init=" ") archOp<-tclVar(init=" ") vectPath<-c() archivos<-function(){ f<-tkcmd("tk_getOpenFile") temparch<-tclvalue(f) assign("vectPath",c(vectPath,temparch),.GlobalEnv) cant<-length(vectPath) arch<-vectPath[cant] tkconfigure(mb,state="normal") tkadd(m, "radio", label=arch, variable="archOp", value=arch) tkconfigure(b2,state=&quot...
2003 Sep 08
1
add checkbutton and the variable(wrong length of vector "b")
...mponents (environment, value and pointer) I wanted alone to charge the value (0 done not select and 1 selected), and the length its wrong. Good, here are the script so that they see it. Thanks Ruben library(tcltk) vectPath<-c() b<-c() archivos<-function(){ f<-tkcmd("tk_getOpenFile") temparch<-tclvalue(f) assign("vectPath",c(vectPath,temparch),.GlobalEnv) temp<-0 assign("b",c(b,temp),.GlobalEnv) #charge the variable for the checkbutton cant<-length(vectPath) j<-vectPath[cant]...
2002 Sep 26
3
tcltk - command=function()
hi, just having the idea create a simple tcl/tk gui-dialog for different data-file formats i get starting problems and it would be nice get some tips/tricks from experienced tcl/tk user in R ! tt <- tktoplevel() label.widget <- tklabel(tt,text="Decision Tree GUI") button.widget <- tkbutton(tt,text="Select SPSSFile", command=function()
2006 Feb 15
2
Setting intial path under windows to MyComputer in Interactive file browser
Hello everyone, How can I specify in tcltk file browser the initial directory to "MyComputer" in Windows where Drives and Partition are accessible? And just a little question if anyone knows, is there a way to use the function choose.files under windows to select a directory? Thanks a lot for your help. Laetitia.
2005 Jul 20
0
Internationalization of the Rcmdr package
...tion into another language. I'm especially interested in a language or languages that use different character sets. One problem that I've encountered is that the text for buttons (e.g., "Open", "Cancel", "Yes", "No") in the standard Tk dialogs (e.g., tk_getOpenFile and tk_messageBox via tkgetOpenFile() and tkmessageBox() in the tcltk package) is not translated, at least under Windows XP, where I've tested. I've seen translated buttons in Tk dialogs under Linux, so perhaps this is a Windows-specific problem. Regards, John --------------------------...
2009 Oct 27
1
tk_choose.files without multiple selection?
Dear all, I compared tk_choose.files on linux with choose.files or tk_choose.files on windows and found that tk_choose.files does not allow multiple selection on linux - independent on keyword setting "multi". > tk_choose.files(default=paste(path.original,"",sep=""),caption="Select file(s)") On linux I get the error message: File <list of
2001 Sep 14
2
tkfilefind in tcltk on Windows2000
Hi, The tkfilefind demo in the tcltk package doesn't seem to work for me in Windows2000. The demo script uses tkfilefind(".") which doesn't display the parent directory so you can't browse around the whole drive. Using tkfilefind() (which uses the default path getwd()) doesn't seem to work for me at all. I also tried tkfilefind("/") which worked fine but