{"action":"opened","issue":{"url":"https://api.github.com/repos/andrewpbray/oilabs/issues/28","labels_url":"https://api.github.com/repos/andrewpbray/oilabs/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/andrewpbray/oilabs/issues/28/comments","events_url":"https://api.github.com/repos/andrewpbray/oilabs/issues/28/events","html_url":"https://github.com/andrewpbray/oilabs/issues/28","id":117834119,"number":28,"title":"plot_ss() and locator() function issue on RStudio Server","user":{"login":"rudeboybert","id":4574203,"avatar_url":"https://avatars.githubusercontent.com/u/4574203?v=3","gravatar_id":"","url":"https://api.github.com/users/rudeboybert","html_url":"https://github.com/rudeboybert","followers_url":"https://api.github.com/users/rudeboybert/followers","following_url":"https://api.github.com/users/rudeboybert/following{/other_user}","gists_url":"https://api.github.com/users/rudeboybert/gists{/gist_id}","starred_url":"https://api.github.com/users/rudeboybert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudeboybert/subscriptions","organizations_url":"https://api.github.com/users/rudeboybert/orgs","repos_url":"https://api.github.com/users/rudeboybert/repos","events_url":"https://api.github.com/users/rudeboybert/events{/privacy}","received_events_url":"https://api.github.com/users/rudeboybert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T15:12:31Z","updated_at":"2015-11-19T15:12:31Z","closed_at":null,"body":"The `plot_ss()` function in the simple linear regression lab is not placing the two points that define the LS line exactly where I click, but only on RStudio Server and not Desktop. This has to do with the `locator()` function. Oddly however, this bug only occurs part of the time for me. Here's a MWE:\r\n```\r\n# Test plot_ss\r\nlibrary(mosaic)\r\nlibrary(oilabs)\r\ndata(mlb11)\r\nplot_ss(x = at_bats, y = runs, data = mlb11)\r\n# Trying to locate (4,4)\r\nplot(1:10, 1:10)\r\nlocator(1)\r\n```\r\nAre any other users of RStudio Server getting this bug?"}}