Home:ALL Converter>Plot zoom and locator in RStudio

Plot zoom and locator in RStudio

Ask Time:2016-01-12T06:19:43         Author:boshek

Json Formatter

Is there a way to enable locator() functionality in the RStudio plot zoom? This only works in the smaller window (default bottom right) of RStudio but when you click on a viewer already open as a separate window, no coordinates are captured:

plot(iris$Petal.Width, iris$Petal.Length)
locator()

Perhaps the answer here is that is not currently implemented and that is why I couldn't find mention of it online.

I'm using RStudio version 0.99.491.

Thanks in advance.

Author:boshek,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/34732208/plot-zoom-and-locator-in-rstudio
yy