powered by
Initializes the log directory for the session. It creates a new directory if it does not exist.
init_log_dir(SE)
Updates the logdir element in the SE list with the path to the log directory.
A list containing session information.
SE <- as.environment(list(session = list(token = "asdf"))) init_log_dir(SE) dir.exists(SE$logdir)
Run the code above in your browser using DataLab