similar to: locator(n=0)

Displaying 20 results from an estimated 3000 matches similar to: "locator(n=0)"

2004 Feb 01
1
interactive 2-D plot interrogation
Greetings Friends: I am trying to find a widget or some other method to let me interrogate a 2-D image using the mouse. I have a data.frame that I can visualize using image() in R. I would like to point to a pixel and have its coordinates displayed. I've read Peter Dalgaard's primer on R-Tcl/Tk, R-News, 1(3):27-31, and his update R-News2(3):25-27, but am still struggling. Can anyone
2000 Jul 19
1
How to use tcltk?
Hallo Tk experts, the Tcl/Tk package allows to define very nice widgets for starting R functions, for printing results and for interactive parameter input. tkdensity.R and tkttest.R demonstrate this and both demos explain how some of the tk functions can be used. For constructing new widgets I would like to see further examples showing Tcl/Tk package in action. Therefore my question: Is there a
2005 Jun 04
2
locator() via tcltk
Hello, I'm trying to write a function using tcltk to interactively modify a plot and gather locator() data. I've read Peter's articles in Rnews, the help pages in tcltk, http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/, plus a post in R-help sometime ago, but haven't found a solution. The idea goes something like this: require(tcltk) testplot <- function() { getcoords
2006 May 03
4
BadWindow : X or Wine or...
i tried running a couple apps in wine remotely, piping X to my powerbook w/ OS 10.4.6 which otherwise works fine. thus i think this is wine- or app-specific. i get similar errors (see below) in different apps. on the surface, looks like bad window or pointer. i figure wine can't find the right libs for display on the client... do i just need a PATH to my the libs on my client? e.g.
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
1999 Jan 19
2
locator(n=1) or (n=500) as S-plus ?
There's a non-compatibility between R and S-plus with the default argument of the locator() function. R has locator(n=1) S-plus has locator(n=500, type="n", noclick=F) S's default is ``better'' I think, insofar as it means in 99% of the cases ``user clicks <left> as many times as wanted and then clicks <right> to end'' Ross Ihaka and his grad
2004 Jun 08
1
Nested shared library calls in Linux
Hi, I have an interface from R to the wxPython GUI toolkit which works under Windows: http://bioinf.wehi.edu.au/folders/james/wxPython/ (as long as you build RSPython with a shared (not static) Python library). But on Linux I get an error: > library(RSPython) > importPythonModule("wx") Error in .PythonEval(cmd) : Error in Python call:
2003 Apr 24
3
R TclTk Examples
Hi, I've been learning how to use R TclTk in Windows over the last few months. I have recently put together a collection of examples of some common widgets and their corresponding R code, at http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/ I would be interested in any feedback - Is it useful? Does it contain any significant errors or bad coding style? Does anyone else want to
2004 Apr 23
4
Tcl Tk table
Hi I've a problem with the following example: library(tcltk) .Tcl("array unset tclArray") myRarray <- matrix(1:1000, ncol=20) for (i in (0:49)) for (j in (0:19)) .Tcl(paste("set tclArray(",i,",",j,") ",myRarray[i+1,j+1],sep="")) tt<-tktoplevel() table1 <- tkwidget(tt,"table",variable="tclArray",
2000 Sep 29
1
Two tcltk questions and Re: tcltk package functionality
Sorry, for my mail from last night contains no subject. Therefore, I send it again and two tcltk questions are appended. ---------------------------------------------------------------------------- Prasad wrote: > I wrote a function in R which uses tcltk package .... essentially I wanted > to give within that function, a widget with 2 radiobuttons to choose > between plotting Precip
2000 Sep 28
0
No subject
Prasad wrote: > I wrote a function in R which uses tcltk package .... essentially I wanted > to give within that function, a widget with 2 radiobuttons to choose > between plotting Precip and Temperature plots. After the user has chosen > one of the radiobuttons there is another widget that asking him to identify > outliers. However, I am having a lot of problems...what R does is
2005 Oct 24
1
tk problem with R 2.2.0 on wine/linux
Actually I am trying to run sciview-R and encounted some problems with tk, and I thought I'll check the basic library(tcltk) functionallity, just to be sure. Anybody seen that '[tcl] bad window path name ".1".' message before? Prof. Philippe Grosjean: yes, I have managed to load most of sciview-R under Wine, except the tcltk library! =================== R : Copyright 2005,
2006 Nov 04
1
tcltk difficulties
Friends: I have a tcltk widget for inputting constants and other values that are needed by subsequent R functions. My widget works well. I have an OnOK function that does what I had hoped it would. Among other input items the widget also uses 6 radio buttons to select one of 6 choices. It functions as it should. Here is the problem: I would like one of the buttons to be the default and to
2010 Jul 28
2
message box
Hi, I need some help figuring out how to make a pop-up message box appear with error messages when running a script using Rterm. Windows XP R2.10.1 ...possibly with the ability to either continue or abort the script? Thanks. M -- [[alternative HTML version deleted]]
2007 Jun 13
1
Offline ? Searching for James Wettenhall's TclTk Examples
Hi, as a starting point for using Tcl/Tk in R, I used to refer to James Wettenhall's nicely presented TclTk Examples formerly hosted at http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/ These days I have been trying to reach these pages but without success. Does anyone know (James, himself, perhaps ;-) whether they are / will be available at some other location --- it would be a pity
2002 Mar 06
3
Loading tcltk package fails on WinMe/Cygwin but works with Rgui
I am investigating how well R/tcltk is supported on different system and I ran into the same problem as Christian Schulz reported on February 7, 2002. I am using [R] v1.4.1 on WinMe and ActiveTcl 8.3.2. Loading tcltk within Rgui works just fine and both demo(tkdensity) and demo(tkttest) works as expected. However, when I start R from my Cygwin terminal dyn.load() fails to load the library: % R
2001 Nov 13
4
Floating windows in TCLTK
Dear anybody dealing with TCLTK on R I'm trying, without any success, to get a simple TCLTK window to remain floating on top of the RGui and RConsol windows when the later have focus. I cannot find reference in the TCKTK documentation and fear that I'm missing something quite fundamental. My objective is to make a simple button populated menu to invoke R functions. I wish the TCLTK menu
2001 May 10
1
TclTk problems
Dear R-Users I'm running SuseLinuxPPC 7.1 and R 1.2.3 installed by sources. I've tried to run the demo for Tk (tkdensity e.g.) but R says " > require(tcltk) || stop("tcltk support is absent") Loading required package: tcltk Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system Error in eval.with.vis(expr, envir, enclos) :
2002 Nov 05
0
summary: Sweave - documenting a long function
Hi, Here is a summary of the replies to my question yesterday about documenting a long function with Sweave. My thanks to those who replied. Friedrich Leisch suggested a work around which was copied to the mailing list so I wont repeat it here. This worked well. (I made a minor addition by adding braces around each chunk of code to make the output in the pdf file look a bit prettier. This seems
2008 Mar 18
3
Tcl/tk question
Dear R Gurus: What is the name of the person who has all of the Tcl/tk stuff, please? I know it's James W, but can't remember his last name. I wanted to look at some of his examples. Thanks in advance! Sincerely, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com