lubridate

要從 CRAN 安裝包:

 placeholderCopyinstall.packages("lubridate")

要從 Github 安裝開發版本:

 placeholderCopylibrary(devtools)
# dev mode allows testing of development packages in a sandbox, without interfering
# with the other packages you have installed.
dev_mode(on=T)
install_github("hadley/lubridate")
dev_mode(on=F)

要獲得有關 lubridate 包裝的插圖:

 placeholderCopyvignette("lubridate")

要獲得有關某些功能的幫助 foo

 placeholderCopyhelp(foo)     # help about function foo
?foo          # same thing

# Example
# help("is.period")
# ?is.period

要獲取函式 foo 的示例:

 placeholderCopyexample("foo")

# Example
# example("interval")