search for: tkgetsavefil

Displaying 7 results from an estimated 7 matches for "tkgetsavefil".

Did you mean: tkgetsavefile
2003 Sep 18
1
Save object R with tkgetSaveFile
HI, my question is about the function tkgetSavefile not save any file, for example the next script run OK but not save the file who i like to save, how i cant to save and object R with tkgetSaveFile, how i use the function save(objet, file="foo.R") with tkgetSaveFile ?What is the error?. I'm work with R 1.7.1 library(tcltk) x<-...
2003 Sep 19
1
Saving with tkgetSaveFile
HI, i'm trying to save a data frame with the next script: x<-c(1,2,3)#suposse here the data frame a<-tkgetSaveFile() a<-tkgetSaveFile() save(x,file=as.character(a)) but i obtain the next warning message: Warning messages: 1: the condition has length > 1 and only the first element will be used in: if (file == "") stop("`file' must be non-empty string") 2: only first element of...
2007 Dec 29
3
tcltk again
...el") if (tclvalue(res) == "ok") ... ----------------------------------------------------- So far every thing is OK. Now I want a box the user should fill in the choosen filename (with a default) and then -------------------- pdf(filename) ... -------------------- I experimented with tkgetSaveFile(). But in the moment the user gives the filename the file is not yet generated! And I can't generate it in advance, because the filename is not yet specified. So I looked for a dialog box. [Some boxes are called "dialog boxes" though they only talk _to_ the user (besides the user&...
2006 Aug 25
0
tktoplevel & tkgetSaveFile options
...-SIG-GUI. Perhaps here is a better place. 1. Is there some option for mantaining the tktoplevel window always on top? 2. Is there some option to eliminate the border icons maximize, minimize and close of a tktoplevel window? 3. Is possible to avoid the warning message (or changing its contents) in tkgetSaveFile when the file to save already exists? Thanks, Manel
2010 Feb 10
6
prompts and running means
G'day, I am new user to R, and have been thrown in the deep end with a something my company want me to write. my code is as follows: kenttemp=read.csv("mnowak.11.1.csv") rows=nrow(kenttemp)-5 kent=kenttemp[1:rows,] #have to remove the last 5 lines of the graph as they interfere with rest of data max(kent[,16],na.rm=TRUE)->ymax ymax=ymax+200 #This is to get
2008 Nov 08
1
Get Information
...rojet. this is the programme: tt <- tktoplevel() txt <- tktext(tt) tkwm.title(tt,"Saisi des modalitĂ©s") #intitule la fenĂȘtre tkgrid(txt) tkmark.set(txt,"insert","0.0") topMenu <- tkmenu(tt) tkconfigure(tt,menu=topMenu) cascade =function () {fileName=tclvalue(tkgetSaveFile(initialfile="modalite.txt",filetypes="{{JPEG Files} {.jpg .jpeg}} {{PDF File} {.pdf}} {{Text File} {.txt}} {{All files} *}")) return(fileName) } tkadd(topMenu,"command",label="Enregistrer",command=function () casca...
2003 Apr 25
1
tcltk tkfilefind demo problem
Hi everyone, I wonder if anybody observed the crash of the tkfilefind demo. I looked into the code and it seems to crash executing dirtree<-tkwidget(base, "hierarchy_dir", root=path, showparent="Parent", showfiles=1, showall=all.names,