R/odm.close.R

Defines functions odm.close

Documented in odm.close

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 29, 2017, 12:07 p.m.