similar to: Tcl/tk , question about the environment of the call

Displaying 20 results from an estimated 2000 matches similar to: "Tcl/tk , question about the environment of the call"

2012 Nov 20
1
tcl/tk problem with tklistbox,the " " character and Rcmdr.
I everyone, i have a little problem with tklistbox,the " " character and Rcmdr. Please look at this code require(tcltk) tt<-tktoplevel() levels.list2 <-tklistbox(tt,selectmode="multiple",exportselection="FALSE", height=4, yscrollcommand=function(...)tkset(levels.list2.scroll,...))
2002 May 13
1
Tcl/Tk Questions!
Hi, I am gonna to design a GUI for my R code. My question is how can I redirect the Console Output of my code into the Tk text widget. Any help will be appreciated. J. Wang -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or
2006 Jun 21
0
Some R-Tcl/Tk-BWidget newbie questions.
Dear list, Could somebody who is more experienced with the Tcl/Tk interface from R please help me clarify the issues I've put below with ### --> tags? Several things go wrong, and it's probably because of messy code, but I have a difficult time finding out what is the cause. Thanks very much, JeeBee. require(tcltk) || stop("Package tcltk is not available.") # Add path to
2009 Sep 28
2
re trieve user input from an tcl/tk interface
Hello everyone, this is my first post here and I hope I signed up correctly and someone will take me by the hand and help me out. I am new to R and cannot figure out what to do here... ... I want to have an User Interface that requests input. I want to save this input to a variable to use it later on. I was able to do this with a modalDiaglog (
2003 Jan 20
0
Tcl/Tk and mouse
Within a loop I tried to draw some things in dependency on the position of the mouse. This works fine with R-1.5.1 but R-1.6.1 requires to include some delay by Sys.sleep(delay) with delay>=0.015. For smaller values (e.g. 0.0001) the top level tcltk-window does not appear and so I am not able to control the elements to be plotted using the tcltk-widget. Question1: How can I force
2008 Jul 18
0
Retrieving data from a tcl /tk function
Hello, I am sorry if this is an answered question, but I did my homework for a long while and couldn't figure out a way to retrieve data entry from a model dialog. In one of the examples compiled by James Wettenhall: odalDialog <- function(title, question, entryInit, entryWidth = 20, returnValOnCancel = "ID_CANCEL") { dlg <- tktoplevel() tkwm.deiconify(dlg)
2006 Aug 15
2
Windows build with Visual Studio 2005 - some success
Hi all, first up, big thanks to Dave for doing the hard work of porting Lucene. I have come to love Lucene through my Java work and was extremely pleased to find the Ferret project for Ruby. Now, I am tinkering with building the C extension using Visual Studio 2005. So far, I have had some success in getting something built and working in my Rails app (diffs attached). I am also encountering a
2014 Sep 25
3
[5/5] ARM: tegra: jetson-tk1: enable GK20A GPU
Playing a bit with todays linux-next on my jetson, it seems this patch is still required for enabling the GPU. Is there anything blocking it (firmware not available yet in liux-firmware?) On Mon, May 19, 2014 at 06:24:10PM +0900, Alexandre Courbot wrote: > Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> > --- > arch/arm/boot/dts/tegra124-jetson-tk1.dts | 8 +++++++- >
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
2016 Oct 17
3
Nouveau on a Jetson TK1 problems
On Sun, Oct 16, 2016 at 11:39 PM, C Bergström <cbergstrom at pathscale.com> wrote: > Is there any particular reason you're not using the open source NVIDIA > Tegra drivers? > > This is what is being used for the TX1 (Sorry I don't know if it's the > same for the TK1) > http://nv-tegra.nvidia.com/gitweb/?p=linux-3.10.git;a=summary That's ... not particularly
2001 Feb 03
1
callback environment for Tk buttons
Hi. I'm running into problems with using R functions as callback commands for buttons in Tk. The following Tcl/Tk script creates three buttons. If you press hello it prints hello world. If you press HALLO it prints HALLO WORLD. Not exciting, but I need an example... set tt [toplevel .tt] foreach i {"hello" "HALLO"} { pack [button $tt.b$i -text $i
2002 Feb 22
2
Tcl/Tk window lingering too long
I want to set up a simple Tk dialog interface to a function in R, such that when the "OK" button is pressed, the dialog window is destroyed and then R does its work on the data/parameters/whatever that were entered in the dialog. The function "test" below is a simple prototype. My problem: upon running test() and hitting "OK", R does its work (ie, computes
2011 Feb 27
1
R Tcl/Tk [MacOSX] TkButton Problem
Hi, I have a tktoplevel window and in it a tkbutton: AUS <- function() { foo(parameters); } AUSButton.but <- tkbutton(tt,text="OK",command=AUS) The function foo(...) does a time-consuming calculation, and during this calculation there is printed some progress information to the console. My problem: When I click the button "OK", the tktoplevel window and the R console
2014 May 19
10
[PATCH 0/5] drm/nouveau: platform devices and GK20A probing
This patch series is the final (?) step towards the initial support of GK20A, allowing it to be probed and used (currently at a very slow speed, and for offscreen rendering only) on the Jetson TK1 and Venice 2 boards. The main piece if the first patch which adds platform devices probing support to Nouveau. There are probably lots of things that need to be discussed about it, e.g.: * The way the
2012 Feb 24
1
tcl tk command function with arguments ??
Hello, I am using R 2.11.1 under Windows XP. I would like to know if its possible to use a function with arguments as a command in tcl tk. For example require(tcltk) PressedOK <- function() { tkmessageBox(message="You pressed OK!") } tt <- tktoplevel() OK.but <- tkbutton(tt,text="OK",command=PressedOK) tkgrid(OK.but) tkfocus(tt) the function PressedOK has no
2023 Mar 13
1
tcl tk: set the position button
Dear Rodrigo, Try tkwm.geometry(win1, "-0+0"), which should position win1 at the top right. I hope this helps, John -- John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada web: https://socialsciences.mcmaster.ca/jfox/ On 2023-03-12 8:41 p.m., Rodrigo Badilla wrote: > Hi all, > I am using tcltk2 library to show buttons and messages. Everything > work
2016 Oct 17
3
Nouveau on a Jetson TK1 problems
I hope this is a good mailing list for this problem. I have a Jetson TK1 board and I am trying to get the nouveau drivers running on it without success. I am using the following: Nouveau linux kernel 4.8.0-rc4+ Nouveau DRM git master xf86-video-nouveau git master Gnurou xserver git branch GK20A My base system is Debian. When I try to start X I get: X: drmmode_display.c:783:
2014 Jun 28
2
Jetson TK1 support -- OpenGL?
I read that nouveau supports the Jetson TK1 board: http://www.newegg.com/Product/Product.aspx?Item=N82E16813190005 Does it provide OpenGL support? - Grant
2014 Jun 29
1
Jetson TK1 support -- OpenGL?
>> I read that nouveau supports the Jetson TK1 board: >> >> http://www.newegg.com/Product/Product.aspx?Item=N82E16813190005 >> >> Does it provide OpenGL support? > > It does: > > https://www.youtube.com/watch?v=7ZSGSVGsSwc > > This is still a work-in-progress, but glmark2 and Weston are already > running. Note that as the support is rather new
2005 Aug 31
1
tcl/tk return problem
Hello, I'm very new in working with tcl/tk in R and have a problem which will probably sound silly to most of you. Here is the code I have problems with: readcelfiles <- function() { require(tcltk) tt <- tktoplevel() tkgrid(tklabel(tt,text="Choose a directory!")) OnOK <- function() { fileDir<-tclvalue(tkchooseDirectory()) data.raw <-