locator function not plowing correctly in Windows 10 an RStudio Cloud

The locator with text function works fine in R using Windows 10. However, when RStudio is used the text is not displayed in the correct coordinates. It all works fine on a MAC.