Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

load_code

Load R code.


Description

Load all R code in the R directory. The first time the code is loaded, .onLoad will be run if it exists.

Usage

load_code(path = ".")

Arguments

path

Path to a package, or within a package.


pkgload

Simulate Package Installation and Attach

v1.2.1
GPL-3
Authors
Hadley Wickham [aut], Jim Hester [aut, cre], Winston Chang [aut], RStudio [cph], R Core team [ctb] (Some namespace and vignette code extracted from base R)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.