Displaying 20 results from an estimated 20000 matches similar to: "locator(n=1) or (n=500) as S-plus ?"
2004 Feb 27
3
locator(n=0)
locator(n=1) returns the coordinates of the position of the mouse.
But you have to click the left button of the mouse.
How can I determine the mouse position without any click?
Is it possible to extend locator in a way that
locator(n=0) outputs the coordinates at once, without any click event?
TclTk allows us to define very nice animations and demonstrations,
see for example: demo(tkdensity).
2001 Jul 25
1
Turning of locator() beep?
Is there a way to turn of the (annoying) beep that occurs when one calls the
locator() command and clicks the mouse. Try
plot(0)
locator(n=10)
I am running Rterm on WindowsMe/Cygwin bash and I don't know if this is the
case on other platforms.
Thanks to everyone!
Henrik Bengtsson
h b @ m a t h s . l t h . s e
2009 May 24
1
Timing issue using locator() in loop containing print()
I am attempting to use locator(n=2) to select the corners of several (5 in
this case) rectangles on an image displayed in a JavaGD window. The returned
coords are used to draw labeled rectangles around the selected region. I
have tried several things to get this to work including sys.Sleep to correct
what appears to be a timing issue with this loop. The first-time print in
the loop
2005 Mar 20
2
Using locator() to digitise
Hi Folks,
I'm contemplating using locator() to digitise external
graphics. To set context, I would be using X11 display
on Linux.
To pre-empt the obvious comment: I've found on the R site
the suggestion to use the 'pixmap' package. I've tried
this, and it works; but it involves building a big R
object (the internal pixmap representation), and this
chokes my somewhat puny
2010 Apr 17
2
Interacting with dendrogram plots, locator() or click()
I would like to explore dendrogam plots interactively. For example, click on a node and return information about all of the children of that node.
Is there a high level wrapper for locator() or click() that will return the nearest dendrogram node on a plot?
If not, is there a way to obtain the [x,y] coordinates of all the nodes on a plot?
Thanks,
David
David J. States, M.D., Ph.D.
Professor
1997 May 27
2
R-alpha: 1:n is not integer
This is from Snews of yesterday
Snews> but the : operator creates integers as in
Snews>
Snews> > is.integer(1:10)
Snews> [1] T
Snews>
Snews> and even in
Snews>
Snews> > is.integer(1:1)
Snews> [1] T
which reminds me of bug report I had sent a while ago,
I think in pre-alpha times:
MM> In R, 1:n is double (aka 'real') and not integer.
2010 Mar 26
3
R, S, S-Plus, whence comes thy name?
I appeal to those entrusted with the keeping of the R flame, the S flame, and the S-Plus flame to relate a bit of history. How did S, S-Plus, and R get their names? Going from S to S-Plus appears clear, a commercial company purchased rights to S, developed a product that they wanted to indicate was related to S, but was more fully developed. This leaves me with only a rumor how S got its original
2002 Feb 28
1
How to turn off the beep made by locator()?
Hi,
[I'm Using redhat linux 7.1 with R-1.4.1 rpms.]
Last summer, Henrik Bengtsson wrote to R-help:
> Is there a way to turn of the (annoying) beep that occurs when one calls the
> locator() command and clicks the mouse. Try
>
> plot(0)
> locator(n=10)
>
> I am running Rterm on WindowsMe/Cygwin bash and I don't know if this is the
> case on other platforms.
2003 Apr 07
3
graphic question
Hi,
I want to use R for some data mining project , and was wondering if it has
any intercative graphical features?
For example, is it possible to plot a histogram and be able to select a
specific point on it and have all the data about it? or select a specific
area in a curve and have all the data about it? or possibilities to zoom
out and in?
Thank you for your help,
Mama Benchaffai
School of
2010 Jan 04
1
locator and print
Hi,
Using the following R-Code the printing via print takes place after locator
although print is placed before locator
###
test = function()
{
plot(1:10)
print("test")
locator(1)
}
test
###
Is there some way to force the printing before locator is being evaluated. I
assume that there is some buffer that needs to be turned off? Where do I
have to look. Locator and print help page
2011 Apr 18
1
cairo device and locator on windows
In several tries, I am finding the locator and identify functions on the
cairo device on Windows,
with R-2.13.0, do not seem to work correctly. Here is my experience with
locator where I click the
four corners of the device window.
First, with the windows() device, the results are consistent with what I see
on screen
> windows()
> plot(1,1)
> locator()
$x
[1] 0.6075000 1.3981252
2005 May 17
3
locator() (PR#7873)
Full_Name: Sascha Frydman
Version: 2.1.0
OS: Windows XP
Submission from: (NULL) (147.66.131.10)
when Esc is pressed while a plot with locator running has the focus, R crashes.
eg.
plot(1)
locator(1)
I am running in SDI mode
2008 Oct 14
1
abline and locator?
Hi,
I'd like to plot vertical lines on my plot using the locator.But since
locator returns two values I end up getting 2 vertical lines for every
click.Is there some way only the x coordinate from locator can be returned?
--
Rajesh.J
------------------------------------------------------------
"I skate to where the puck is going to be, not where it has been." - Wayne
Gretzky
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
2009 Oct 03
1
Graphics Device; locator function
Hi, haven't been here for a while, but everyone one was always so
helpful I thought I would ask you another really basic question.
I'm running R2.9.1 in Ubuntu8.04 on a netbook (maxed out on memory etc
so I don't think that's a problem - wth it's a Dell Mini 9" with that
lpia non-architecture you told me about).
Anyway, some of the graphics functions/parameters are
1998 Mar 25
2
R alpha/beta naming
Read this morning
>>> R : Copyright 1998, Robert Gentleman and Ross Ihaka
>>> Version 0.61.2 Alpha (March 15, 1998)
-----
So, there still is no "R beta" around....
- If I didn't know R, would I use a statistics software, if it was still
in alpha testing state?
- Is this really what we want to tell people about R?
More to the point:
I think, we could
2012 Jun 21
1
dc locator/site awareness, and samba-winbind-krb5-locator
Hi all
A couple of questions for you on domain integration:
Firstly, can someone please explain to me where/how a samba device's site info is cached? I see from a trace that when winbind starts it goes through the usual process that a windows device does (DNS query for non site-specific SRV, LDAP query/response with site name, DNS query for site-specific SRV).
- How is the site info
1999 Feb 25
1
locator() and log axes (PR#126)
In both the versions of 0.63.3 I have compiled locator() gives silly
results for log axes eg
> plot(1:10,log="x")
> locator(1) #click on the point at (4,4)
$x
[1] 9694.383
$y
[1] 4.034130
It appears that the x coordinate is 10^right number -- it's getting
unlogged twice
--please do not edit the information below--
Version:
platform = sparc-sun-solaris2.6
arch = sparc
2005 Apr 17
1
Unlogical phenomenon caused by locator
I was wondering if someone could help me!
Here is what I don't understand!
Why the text in the function isn't showing up before the locator action?
###########
plot(1:10)
toto<-function(){
cat("Why this text isn't showing up before the point selection !!!!!!!!")
point<-locator(2)
return(point)
}
toto()
P.S.: I am using the most recent version of R for mac
Thanks
2010 Jul 29
2
locator function and connecting segment
Dear R People:
I'm using the locator() function on a chart and I select two values.
Is there a way already in place to connect the two values with a line
segment, please?
Just thought I'd check before I started coding.
Thanks in advance,
Sincerely,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: