Re: [R] [tcltk] binding two functions to one event

2025-01-22 Thread re...@meer.net
use this does not work: tkbind('all','<>',"+", evresp2) Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") : [tcl] wrong # args: should be "bind window ?pattern? ?command?". On 20 Jan 2025, at 02:51 , re...@meer.net

[R] [tcltk] binding two functions to one event

2025-01-20 Thread re...@meer.net
Here is some tcl/tk code I am trying to emulate in R. Paste the following into wish ### begin tcl code toplevel .wtop proc evresp1 { data } { puts "evresp1 $data" } proc evresp2 { data } { puts "evresp2 $data" } bind all <> "evresp1 %d" bind all <> "+evresp2 %d" ### end tcl code Now paste ev

[R] grDevices::bringToTop is documented but not available: A bug?

2024-11-21 Thread re...@meer.net
There is help for grDevices::bringToTop but the function is not present. bringToTop() Error in bringToTop() : could not find function "bringToTop" grDevices::bringToTop() Error: 'bringToTop' is not an exported object from 'namespace:grDevices' getAnywhere(bringToTop) no object named ‘bri