R/reload.R

Defines functions reload

Documented in reload

reload <- function(){
	try(detach("package:RObsDat", unload=TRUE))
	ll = getOption("lib.loc", default=NULL)
	ll.string <- ""
	if(!is.null(ll)) ll.string <- paste("-l", ll)
	system(paste("R CMD INSTALL",ll.string," RObsDat"))
	library(RObsDat, lib.loc=ll)
}

Try the RObsDat package in your browser

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

RObsDat documentation built on May 31, 2017, 4:20 a.m.