Hi #RStats. I often wish we had an R option/env var to indicate we're offline. Code could then *nicely* fall back to offline solutions. I lieu of a standard, can we come up with one here? I start by proposing:
$ export R_OFFLINE=true
> options(offline=TRUE)
Other suggestions?
3
4
13
I have `isConnected` in package `dang` which does the trick---by trying to resolve Google (as a default, can be changed) and to open the page.
As it relies only on base R itshould be portable enough. I am sure lots of people have similar helper functions.
#rstats
Apr 18, 2021 · 6:26 PM UTC
1
2
5


