[R] Unlogical phenomenon caused by locator

Sebastien Durand sebastien.durand at UMontreal.CA
Sun Apr 17 03:19:16 CEST 2005


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 a lot!
-- 
  Sébastien Durand
Maîtrise en biologie
Université de Montréal
(514) 343-6864
Université du Québec à Montréal
(514) 987-3000 (1572#)




More information about the R-help mailing list