The R Project SVN R

Rev

Rev 28109 | Rev 30661 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28109 Rev 28126
Line 68... Line 68...
68
  For \code{packageEvent}, the derived hook name (a character string).
68
  For \code{packageEvent}, the derived hook name (a character string).
69
}
69
}
70
\seealso{
70
\seealso{
71
  \code{\link{library}}, \code{\link{detach}}, \code{\link{loadNamespace}}.
71
  \code{\link{library}}, \code{\link{detach}}, \code{\link{loadNamespace}}.
72
 
72
 
73
  Other hooks may be added later: \code{\link{plot.new}} and
73
  Other hooks may be added later: \code{\link[graphics]{plot.new}} and
74
  \code{\link{persp}} already have them.
74
  \code{\link[graphics]{persp}} already have them.
75
}
75
}
76
\examples{
76
\examples{
77
setHook(packageEvent("graphics", "onLoad"),
77
setHook(packageEvent("graphics", "onLoad"),
78
        function(...) graphics::ps.options(horizontal=FALSE)) 
78
        function(...) graphics::ps.options(horizontal=FALSE)) 
79
}
79
}