# Note: a time limit can be set in order to kill the operation when/if
# the NCBI/Entrez server becomes unresponsive.
setTimeLimit(elapsed = 4.9)
try({
qry <- paste0("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/",
"esearch.fcgi?db=pubmed&term=easyPubMed")
easyPubMed:::EPM_submit_q(qry)
}, silent = TRUE)
setTimeLimit(elapsed = Inf)
Run the code above in your browser using DataLab