New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
locator returns incorrect coordinates when graphics device AGG is selected #8571
Comments
|
@sjmgarnier What are you getting if you run this in R outside of RStudio? I tried it out, and I got the following It's not returning the location of the points themselves, but where the clicks occur. So if I click in the center of the graph four times, I get Almost (0,0) but not quite. This is the behavior of the |
|
@ronblum Did you try that with the AGG device activated in RStudio Preview? The results are widely different from those you get when using the default graphics device. I guess I should have made this more clear in my explanation. The locator function returns what one expects when selecting the default graphics device but not when selecting the AGG device. |
|
I can reproduce as well. Perhaps a more dramatic example (with me clicking on the point as displayed in the Plots window): |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions. |
|
This issue has been automatically closed due to inactivity. |
System details
Steps to reproduce the problem
Click on all four points. The returned coordinates are incorrect, i.e. they do no correspond to the input coordinates of the points.
Describe the problem in detail
See above.
Describe the behavior you expected
locatorshould return the coordinates that correspond to that of the points in graph.The text was updated successfully, but these errors were encountered: