R/systools__attached.packages.R

Defines functions attached.packages

Documented in attached.packages

#' List all attached packages
#'
#'
#' @title list all attached packages
#' @return NA
#' @author Feng Li, Department of Statistics, Stockholm University, Sweden.
#' @note Created: Wed Mar 21 12:01:21 CET 2012;
#'       Current: Wed Mar 21 12:01:27 CET 2012.
#' @export
attached.packages <- function()
{
  searchOut <- search()
  loadedNMS <- loadedNamespaces()
  out <- searchOut[searchOut%in%paste("package:", loadedNMS ,sep="")]
  return(out)
}
feng-li/flutils documentation built on Oct. 1, 2020, 9:09 p.m.