I have a dataframe which has domain name column. I want to see which domain exist by pinging their domain names. I can get an individual ping response from following function.
ping <- function(x,stderr=FALSE,stdout=FALSE,...){
pingvec <- system2("ping",x,
stderr=FALSE,
stdout=FALSE,...)
if (pingvec == 0) TRUE else FALSE
}
ping("google.com")
[1] TRUE
Is there any R package where I can get ping response for entire column which has thousands of domain names.