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:
# Test plot_ss
library(mosaic)
library(oilabs)
data(mlb11)
plot_ss(x = at_bats, y = runs, data = mlb11)
# Trying to locate (4,4)
plot(1:10, 1:10)
locator(1)
Are any other users of RStudio Server getting this bug?
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 thelocator()
function. Oddly however, this bug only occurs part of the time for me. Here's a MWE:Are any other users of RStudio Server getting this bug?