similar to: Get Information

Displaying 20 results from an estimated 100 matches similar to: "Get Information"

2008 Aug 19
1
Open directory within a menu in tcltk
Hello, I am trying to setup a menu to open files and directories. I have the following code: opendir<-function() { dirname<<-tclvalue(tkchooseDirectory()) } openfile<-function() { filename<<-tclvalue(tkgetOpenFile()) } require(tcltk) t1<-tktoplevel() topMenu<-tkmenu(t1) tkconfigure(t1,menu=topMenu) plotMenu<-tkmenu(topMenu, tearoff=FALSE)
2006 Aug 11
2
tkinsert
Dear List, I'm looking for some informations about the function "tkinsert()". I d'like to write lot of command in my text window and after to evaluate it with a button "Submit" for example, but i have some problems: here a exemple of my code: 1) My first problem tt=tktoplevel() txt=tktext(tt,height=40) tkpack(txt) var1=paste("x=2")
2012 Nov 19
6
tcltk freezing using MS Windows for R-2.14+
I am the maintainer of a Bioconductor package (affylmGUI) which uses tcltk. It freezes inconsistently on MS Windows, but not Mac or Unix. see details below. After considerable testing I have reduced the problem from a few thousand lines of code to 30 lines! If you paste the following lines of code into an R window: testGUI <- function(){ require(tcltk) MainWindow <-
2011 Nov 21
1
invalid command name "tk::MenuDup"
Hi to all, I'm developping an user interface in TCL/TK but in some computers this error occurs : <Tcl> invalid command name "tk::MenuDup" when the user runs : tm <- tktoplevel(height=500,width=800) topMenu <- tkmenu(tm) tkconfigure(tm,menu=topMenu) i don't understand why this code works on my computer and is not running on other user environment ? thanks, --
2012 Nov 23
1
Adding a function with default parameters into the Rcmdr menu
Hi everyone, I made some tests with Rcmdr, to add a function with default parameters : For example (very simple): myfunction<-function(var="314"){ print("hello") print(var) } if I run myfunction() directly i see : > myfunction() [1] "hello" [1] "314" it's ok. But if i edit de Rcmdr-menu.txt (in
2004 Apr 19
1
Menu addditions to Rcmdr v0.9-6
1) In general, I would appreciate help in adding functions to the Rcmdr menu system. I've been able to modify the menus themselves and source test code but I can't get R functions to execute from the menu. My latest proof of concept code follows: Three lines added to "Rcmdr-menus.txt": menu junkMenu topMenu "" ""
2007 Nov 01
1
Rcmdr Plugin and menus.txt
Hi all, I'm trying to write a plugin for R Commander, following the model of the TeachingDemos plugin. I am struggling trying to even add items by editing the menus.txt file. I would welcome any help from anyone who has messed with it. Essentially the problem I am having is: I cannot create a submenu to a newly created menu. Here is what the menus.txt file looks like: # type
2007 Dec 29
3
tcltk again
Hello, the admonition of Prof. Ripley to search the documentation to solve my problem helped, today I read a lot more on Tcl/Tk than before ;-) But now I'm stuck again. With the help of my script some functions are plotted on the display, then I ask if the user wants to save it as pdf. In windows I use winDialog and it works. But I can't succeed in Linux. In short:
2010 Jul 22
1
check menu button (tcltk)
Hi,   I am making a mock user interface in tcltk and I would like to add a 'check menu button' such as shown here: http://zetcode.com/tutorials/pygtktutorial/images/checkmenuitem.png   Does anybody know how to do this? I am quite new to R. Cheers!! Albert-Jan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ All right, but apart from the sanitation, the medicine,
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
2008 Dec 22
1
newbie question on tcltk
Hi List, Can anyone tell me how could i put the "BACK" button in the following code, just under the "AAA" menu? I want this button to go back to the previous page, and since it has nothing to do with the "1" and "2" buttons, i want it somehow separated from these two buttons, but i don't know how. I searched the web for some examples but my results
2007 Jan 22
0
How to disable existing menus in tcltk?
Hi! I've constructed a small menu-driven interface to a couple of R functions using the possibilities offered by the tcltk package. When user runs some specific analyses, I would then like to disable some of the menus (or menu choises) that are not applicable after the performed analysis. I tried to modify the state of an existing menu, but it seems that neither tkconfigure nor
2007 May 14
3
pxe password protect option
Hi, I have tried several different line options, but I cannot seem to get the pxe master password option to work? I have basically tried all combinations of: DEFAULT local PROMPT 0 ALLOWOPTIONS 1 TIMEOUT 500 MENU TITLE sometitle MENU MASTER PASSWD somepassword But just can't seem to get the menu to prompt for a password. version I have is pxe 3.31 Thanks for any help
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<-1 filetypes <- list("{Texto {.txt}} {Word
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:
2006 Aug 25
0
tktoplevel & tkgetSaveFile options
Dear list, Previously I posted these question to R-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
2008 Nov 19
2
simulation of autoregressive process
Dear R users, I would like to simulate, for 20000 replications, an autoregressive process: y(t)=0.8*y(t-1)+e(t) where e(t) is i.i.d.(0,sigma*sigma), Thank you in advance ____________________________________________________ Écoutez gratuitement le nouveau single de Noir Désir et découvrez d'autres titres en affinité avec vos goûts musicaux
2008 Nov 19
1
vector of zeros and ones
Dear Rolf, thank you for reply, I am interested with non random numbers. To be more precise, I would like to obtain two vectors a and b with a=(1,1,1,......,1,1) and b=(0,0,........,0,0). The length of a and b is 10000. Thank you ____________________________________________________ Écoutez gratuitement le nouveau single de Noir Désir et découvrez d'autres titres en affinité avec vos goûts
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
2017 Sep 22
3
gtk3 update causing havoc
On my lab systems, the automatic updates were failing because of the problems with ipod libraries from EPEL being in the way. It turns out that was a good thing, because when I "fixed" it, a massive set of packages was updated, including the new gtk3. These packages are the ones causing problems, I think. gtk3-3.22.10-4.el7.x86_64 gtk3-devel-3.22.10-4.el7.x86_64 In the release notes,