View source: R/other_functions.R
| haveInternet | R Documentation |
This function checks if your R session currently have Wifi or Internet connection.
haveInternet(thresh = 3, url = "http://www.google.com")
thresh |
Numeric. How many seconds to consider a slow connection? |
url |
Character. URL to test the readLines 1 command |
Boolean. Result of checking if device has internet connection.
Other Tools:
autoline(),
bind_files(),
bring_api(),
chr2num(),
db_download(),
db_upload(),
dont_sleep(),
export_plot(),
export_results(),
files_functions(),
font_exists(),
formatColoured(),
formatHTML(),
glued(),
grepm(),
h2o_selectmodel(),
image_metadata(),
importxlsx(),
ip_data(),
json2vector(),
list_cats(),
listfiles(),
mail_send(),
markdown2df(),
move_files(),
msplit(),
myip(),
quiet(),
read.file(),
statusbar(),
tic(),
try_require(),
updateLares(),
warnifnot(),
what_size()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.