Closed rpruim closed 4 years ago
@rpruim could we talk offline with @andrewpbray and/or @mine-cetinkaya-rundel? I suspect that there are some efforts underway to reconcile these packages. (Note as well that based on my read of the R labs for open intro on the openintro.org website the package isn't needed.)
Which package isn't needed for what?
The reason we're choosing to not use LazyData, despite recommendations here, is that we want students to be able to click on the dataset in their environment instead of running View()
(which is a tricky function to teach when also teaching R Markdown to new learners). However there are plans for a new tibble::view()
which will hopefully play nicely with R Markdown documents running on the cloud/server and if that's working well I agree that we should go back to loading data lazily.
That seems like a bit of a hack to get around the RStudio interface rather than a genuinely good idea.
@mine-cetinkaya-rundel, how much do you know about tibble::view()
? When is it supposed to be ready and what will it do?
I too have issues with how students use View() and would be interested in knowing more about tibble::view(). It's hard for me to understand what's planned via https://github.com/tidyverse/tibble/issues/373
For various reasons I think this should be a separate package. Announcing tidyview: https://krlmlr.github.io/tidyview/.
@krlmlr , this looks very interesting. How close are you to CRAN release? Also, how will this integrate into RStudio (for clicking on data frames in the Environment tab, for example).
Looking forward to giving this a try.
Back to @mine-cetinkaya-rundel 's reason for avoiding lazy loading data (if I understand it correclty), is there any way to get RStudio to launch tidyview::view()
when clicking on a promise in the Environment tab?
At this point I'm back to discussing requirements: https://github.com/tidyverse/tibble/issues/373#issuecomment-402627371. CRAN release is not a big problem, but we need to agree on what we are doing in the first place. Happy to take your input there.
It looks like you have some issues with data sets. Example: I see
bdims
in both openintro and oilabs, but it doesn't appear to be exported from oilabs.I recommend putting the data in just one place and using lazy data.