locator () function does not work properly in windows 10 with current version of RStudio. The function does work properly without the IDE and on the Mac side. It does work properly with version 1.4.177 in window 10. Can anyone suggest a work around. Thanks
I'm using Windows 11 with:
RStudio 2021.09.0+351 "Ghost Orchid" Release (077589bcad3467ae79f318afe8641a1899a51606, 2021-09-20) for Windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36
This code works perfectly for me:
plot(2,2) keep <- locator() # Now mouse click in a few places on the graph. Press ESC to finish. keep # $x #  1.523504 2.014015 1.961460 1.449927 1.204672 2.311825 # # $y #  2.733269 2.414821 1.920388 1.861726 1.928768 2.825451
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.