Learn R Programming

lares (version 4.7)

haveInternet: Internet Connection Check

Description

This function checks if your R session currently have Wifi or Internet connection.

Usage

haveInternet(thresh = 3, url = "http://www.google.com")

Arguments

thresh

Numeric. How many seconds to consider a slow connection?

url

Character. URL to test the readLines 1 command

See Also

Other Tools: autoline, bindfiles, bring_api, db_download, db_upload, export_plot, export_results, get_credentials, get_currency, h2o_predict_API, h2o_predict_MOJO, h2o_predict_binary, h2o_predict_model, h2o_selectmodel, h2o_update, importxlsx, ip_country, iter_seeds, json2vector, listfiles, mailSend, matrixwd, msplit, myip, pass, quiet, read.file, statusbar, try_require, updateLares, zerovar