R/session_set.R

Defines functions session_set

Documented in session_set

#' Set the session to a user-specified value
#' 
#' @param session The new session, or NULL
#' @keywords internal
session_set <- function(session=NULL) {
	if(!session_validate(session)) warning("new session is not valid; setting anyway")
	pkg.env$session <- session
}

Try the sbtools package in your browser

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

sbtools documentation built on May 1, 2023, 1:07 a.m.