R/reload.R

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 2, 2019, 5:55 p.m.