I believe that adding flush.console() after the cat() call works on Mac as it does on Windows. (If not, it is intended that it should in 2.1.0.)
[On Windows it is FAQ Q6.3.]
On Sat, 16 Apr 2005, Sebastien Durand wrote:
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
^^^^^^^^^
-- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
