search for: tk_select

Displaying 17 results from an estimated 17 matches for "tk_select".

Did you mean: do_select
2019 Jul 18
2
ubuntu equivalent of ctrl-a on windows
...and see if they have a way to select all four fruits at once, it's appreciated. I've spent quite a bit of time searching the net, going on AskUbuntu etc but no luck. Thanks. library(tcltk) fruits <- c("pear", "apple", "banana", "peach") temp <- tk_select.list(choices = fruits, preselect = NULL, multiple = TRUE) print(temp) [[alternative HTML version deleted]]
2008 Aug 14
1
Double-clicking in tk list dialogs
Am I the only one who finds himself futilely double-clicking a CRAN mirror in the dialog for choosing a CRAN mirror? Yes, double-clicking works in Windows, but not in the Tk-based dialog on Linux. I'm going to wear out my mouse button. Adding the following line to the tk_select.list function in the tcltk package adds double-click functionality to list dialogs: tkbind(box, "<Double-ButtonPress-1>",onOK) (put it in the right place though, after 'box' has been created). Not sure if this would be a default behaviour, or if its's worth having...
2013 Aug 03
1
tk + browser() can leave R unresponsive
...with R version 3.0.1 and with r63479. There is no difference if R is patched with the fix for PR#15407 or not, although without the fix there are more ways to trigger this. I can reproduce with the following: 1. Open R in gnome-terminal or xterm 2. Run 'library(tcltk)' 3. Run 'trace(tk_select.list, edit = TRUE)' and put "browser()" at the beginning of the onOK body (e.g. in Vim run <<:g/onOK/put ='browser()'>>). That is, transform onOK <- function() { res <- 1L + as.integer(tkcurselection(box)) cat("res is: ", res)...
2019 Jul 18
2
ubuntu equivalent of ctrl-a on windows
...'s appreciated. I've spent quite a bit > of > > time searching the net, going on AskUbuntu etc > > but no luck. Thanks. > > > > library(tcltk) > > fruits <- c("pear", "apple", "banana", "peach") > > temp <- tk_select.list(choices = fruits, preselect = NULL, multiple = > TRUE) > > > > print(temp) > Ctrl-/ picks all items on my setup. > > I'm in 18.04 inside Rstudio so my experience may be different. > > > I discovered this by holding the control key down and sliding my finge...
2009 Dec 14
0
R 2.10.1 is released
...1024 bytes). o A Bioconductor mirror can be set for use by setRepositories() via the option "BioC_mirror", e.g. the European mirror can be selected by options(BioC_mirror="http://bioconductor.statistik.tu-dortmund.de") o Double-clicking in a tk_select.list() list box now selects the item and closes the list box (as happens on the Windows select.list() widget). INSTALLATION o configure will be able to find a usable libtiff in some rare circumstances where it did not previously (where libtiff needed to be li...
2009 Dec 14
0
R 2.10.1 is released
...1024 bytes). o A Bioconductor mirror can be set for use by setRepositories() via the option "BioC_mirror", e.g. the European mirror can be selected by options(BioC_mirror="http://bioconductor.statistik.tu-dortmund.de") o Double-clicking in a tk_select.list() list box now selects the item and closes the list box (as happens on the Windows select.list() widget). INSTALLATION o configure will be able to find a usable libtiff in some rare circumstances where it did not previously (where libtiff needed to be li...
2019 Jul 18
0
ubuntu equivalent of ctrl-a on windows
...select all four fruits at once, it's appreciated. I've spent quite a bit of > time searching the net, going on AskUbuntu etc > but no luck. Thanks. > > library(tcltk) > fruits <- c("pear", "apple", "banana", "peach") > temp <- tk_select.list(choices = fruits, preselect = NULL, multiple = TRUE) > > print(temp) Ctrl-/ picks all items on my setup. I'm in 18.04 inside Rstudio so my experience may be different. I discovered this by holding the control key down and sliding my finger across the lower tier of keys. -- Da...
2019 Jul 18
0
ubuntu equivalent of ctrl-a on windows
...spent > quite a bit of > > time searching the net, going on AskUbuntu etc > > but no luck. Thanks. > > > > library(tcltk) > > fruits <- c("pear", "apple", "banana", "peach") > > temp <- tk_select.list(choices = fruits, preselect = NULL,? > multiple = TRUE) > > > > print(temp) > Ctrl-/ picks all items on my setup. > > I'm in 18.04 inside Rstudio so my experience may be different. > > > I discovered this by holding the control key d...
2006 Dec 12
0
Documenting revised functions
...ies. My problem is how to document this. Since my package exports filter(), it needs an \alias{filter} in an Rd document, otherwise R CMD check complains about an undocumented object. However, when I fix that by having an Rd document with \alias{filter} in it, help(filter) puts up the too-small tk_select.list() menu I've complained about before to ask me which help document I want, the package::fame one or the package::stats one. And because the generic filter() is now filter <- function (x, ...) UseMethod("filter") the filter.default() function also has to have a useless ... ar...
2009 Apr 22
1
Installation fails (PR#13669)
...text html latex example tkStartGUI text html latex tk_choose.dir text html latex example tk_choose.files text html latex example tk_messageBox text html latex tk_select.list text html latex tkpager text html latex make[2]: Leaving directory `/install/R/R-2.9.0/src/library' make[1]: Leaving directory `/install/R/R-2.9.0/src/library' make[1]: Entering directory `/install/R/R-2.9.0/src/library/Recomme...
2009 Nov 02
2
R292 and tcl/tk
...ult *** address 21188073e, cause 'memory not mapped' Traceback: 1: .C("tcltk_init", PACKAGE = "tcltk") 2: fun(...) 3: doTryCatch(return(expr), name, parentenv, handler) ............... 19: tryCatch(asNamespace(pkg), hasNoNamespaceError = function(e) NULL) 20: tcltk::tk_select.list 21: menu(m[, 1L], graphics, "CRAN mirror") 22: chooseCRANmirror() 23: contrib.url(repos, type) 24: available.packages(contriburl = contriburl, method = method) 25: update.packages() CONFIGURATION 2 (without tcl/tk) ../R-2.9.2/configure --enable-R-shlib --enable-BLAS-shlib --with-t...
2009 May 21
0
problems building R-2.9.0 on solaris
...text html latex example tkStartGUI text html latex tk_choose.dir text html latex example tk_choose.files text html latex example tk_messageBox text html latex tk_select.list text html latex tkpager text html latex begin installing recommended package VR ERROR unable to create '/home/jayoung/source_codes/R/R-2.9.0/ unpack_solaris3/R-patched/library/MASS' *** Error code 1 The following command caus...
2005 Apr 18
1
R-2.1.0 is released
...ws mode "w+b" as well as "w+". o file.append() has been tuned, including for the case of appending many files to a single file. o Functions flush.console() and select.list() are now available on all platforms. There is a Tcl/Tk-based version of select.list() called tk_select.list() in package tcltk. o gc() now reports maximum as well as current memory use. o A new function getGraphicsEvent() has been added which will allow mouse or keyboard input from a graphics device. (NB: currently only the Windows screen device supports this function. This should impro...
2005 Apr 18
1
R-2.1.0 is released
...ws mode "w+b" as well as "w+". o file.append() has been tuned, including for the case of appending many files to a single file. o Functions flush.console() and select.list() are now available on all platforms. There is a Tcl/Tk-based version of select.list() called tk_select.list() in package tcltk. o gc() now reports maximum as well as current memory use. o A new function getGraphicsEvent() has been added which will allow mouse or keyboard input from a graphics device. (NB: currently only the Windows screen device supports this function. This should impro...
2007 Apr 24
0
R 2.5.0 is released
...ext() and textGrob() all attempt to coerce non-language annotation objects (in the sense of is.object) to character vectors. This is principally intended to cover factors and POSIXt and Date objects, and is done via the new utility function as.graphicsAnnot() in package grDevices. o tcltk:tk_select.list() now chooses the width to fit the widest item. o {re,un}tracemem() are now primitives for efficiency and so migrate from 'utils' to 'base'. o union(), interect(), setdiff() and setequal() now coerce their arguments to be vectors (and they were documented only to a...
2007 Apr 24
0
R 2.5.0 is released
...ext() and textGrob() all attempt to coerce non-language annotation objects (in the sense of is.object) to character vectors. This is principally intended to cover factors and POSIXt and Date objects, and is done via the new utility function as.graphicsAnnot() in package grDevices. o tcltk:tk_select.list() now chooses the width to fit the widest item. o {re,un}tracemem() are now primitives for efficiency and so migrate from 'utils' to 'base'. o union(), interect(), setdiff() and setequal() now coerce their arguments to be vectors (and they were documented only to a...
2004 Mar 16
2
Cannot compile wine
...) tokenize.c:124: error: initializer element is not constant tokenize.c:124: error: (near initialization for `aKeywordTable[78].tokenType') tokenize.c:124: error: initializer element is not constant tokenize.c:124: error: (near initialization for `aKeywordTable[78]') tokenize.c:125: error: `TK_SELECT' undeclared here (not in a function) tokenize.c:125: error: initializer element is not constant tokenize.c:125: error: (near initialization for `aKeywordTable[79].tokenType') tokenize.c:125: error: initializer element is not constant tokenize.c:125: error: (near initialization for `aKeyword...