OpenIntroStat / oilabs

🛑 This package has been deprecated and datasets and functionality have been moved to the openintro package
https://github.com/OpenIntroStat/openintro
Creative Commons Zero v1.0 Universal
10 stars 19 forks source link

plot_ss() and locator() function issue on RStudio Server #28

Closed rudeboybert closed 6 years ago

rudeboybert commented 8 years ago

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?

mine-cetinkaya-rundel commented 7 years ago

Are you still having this issue? I can't replicate it.