
Last chance! 50% off unlimited learning
Sale ends in
sessionInfo
from a local R sessionThe function may also execute provided expressions or files.
The implementation is based on r_vanilla
.
clean_session(expr = c(), script_file = NULL, rmd_file = NULL,
echo = FALSE, predetect = TRUE,
repos = "https://cloud.r-project.org")
vector of expressions to be executed in the session (see quote
)
R script to be executed in the session, uses source
R Markdown file to rendered in the session, uses render
print out detailed information from R
whether to use automagic to install missing packaging before executing the R script or R Markdown file
Repository to use, requried if expr
incluedes install statements
# NOT RUN {
clean_session(c(quote(library('lattice'))))
# }
Run the code above in your browser using DataLab