R/increment.curlcount.R

Defines functions increment.curlcount

increment.curlcount <- function(){
	mycount <- getOption("CURLCOUNT");
	if(mycount < 1000){
		options(CURLCOUNT = mycount + 1);
	} else {
		message("Reached 1000 curl requests. Renewing curl handler!")
		renewCurl();
	}
}

Try the Ohmage package in your browser

Any scripts or data that you put into this service are public.

Ohmage documentation built on Feb. 1, 2019, 1:04 a.m.