swh:1:snp:1d6f9c912933e835b749aef1f8077112982fe84e
Raw File
Tip revision: 85eeff77b2e878cc9dbd7659e4acbc035be93c28 authored by Hans W. Borchers on 22 September 2022, 13:50:02 UTC
version 2.4.2
Tip revision: 85eeff7
clear.Rd
\name{clear, who(s), ver}
\alias{clear}
\alias{ver}
\alias{who}
\alias{whos}
\title{
Clear function (Matlab style)
}
\description{
  List or remove items from workspace, or display system information.
}
\usage{
clear(lst)
ver()

who()
whos()
}
\arguments{
  \item{lst}{Character vector of names of variables in the global environment.}
}
\details{
  Remove these or all items from the workspace, i.e. the global environment,
  and freeing up system memory.

  \code{who()}  lists all items on the workspace.\cr
  \code{whos()} lists all items and their class and size.

  \code{ver()} displays version and license information for R and all the
  loaded packages.
}
\value{
  Invisibly NULL.
}
\seealso{
  \code{\link{ls}}, \code{\link{rm}}, \code{\link{sessionInfo}}
}
\examples{
# clear()  # DON'T
# who()
# whos()
# ver()
}
\keyword{ utilities }
back to top