R/odm.close.R

odm.close <- function(){
	handler <- options("odm.handler")[[1]]
	if(!is.null(handler)){
		dbDisconnect(handler@con)
		options(odm.handler=NULL)
		cat("Connection closed\n")
	}

}

Try the RObsDat package in your browser

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

RObsDat documentation built on May 2, 2019, 5:55 p.m.