The R Project SVN R

Rev

Rev 69484 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 69484 Rev 85065
Line 20... Line 20...
20
 
20
 
21
packageEvent(pkgname,
21
packageEvent(pkgname,
22
             event = c("onLoad", "attach", "detach", "onUnload"))
22
             event = c("onLoad", "attach", "detach", "onUnload"))
23
}
23
}
24
\arguments{
24
\arguments{
25
  \item{hookName}{character string: the hook name}
25
  \item{hookName}{character string: the hook name.}
26
  \item{pkgname}{character string: the package/namespace name}
26
  \item{pkgname}{character string: the package/namespace name.}
27
  \item{event}{character string: an event for the package.  Can be abbreviated.}
27
  \item{event}{character string: an event for the package.  Can be abbreviated.}
28
  \item{value}{A function or a list of functions, or for \code{action = "replace"}, \code{NULL} }
28
  \item{value}{a function or a list of functions, or for \code{action = "replace"}, \code{NULL}.}
29
  \item{action}{The action to be taken.  Can be abbreviated.}
29
  \item{action}{the action to be taken.  Can be abbreviated.}
30
}
30
}
31
 
31
 
32
\details{
32
\details{
33
  \code{setHook} provides a general mechanism for users to register
33
  \code{setHook} provides a general mechanism for users to register
34
  hooks, a list of functions to be called from system (or user)
34
  hooks, a list of functions to be called from system (or user)