knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
install.packages
.packages(all.available = TRUE)
installed.packages
remove.packages
library
hint('0.1.2') library(Rdlazer) hint('0.1.2')
\newline
Rdlazer
causes masking of two objects from datasets
::
head(mtcars) head(Rdlazer::mtcars) head(datasets::mtcars)
::
operator can also be used to access namespaces of packages that have been installed but not attachedhead(USMortality) head(lattice::USMortality)
\newline
detach("package:packagename", unload = TRUE)
.packages
# .packages returns invisibly (.packages())
search
; check the Environments vignette for an explanationAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.