| Line 27... |
Line 27... |
| 27 |
\code{autoload} creates a promise-to-evaluate \code{autoloader} and
|
27 |
\code{autoload} creates a promise-to-evaluate \code{autoloader} and
|
| 28 |
stores it with name \code{name} in \code{.AutoloadEnv} environment.
|
28 |
stores it with name \code{name} in \code{.AutoloadEnv} environment.
|
| 29 |
When \R attempts to evaluate \code{name}, \code{autoloader} is run,
|
29 |
When \R attempts to evaluate \code{name}, \code{autoloader} is run,
|
| 30 |
the package is loaded and \code{name} is re-evaluated in the new
|
30 |
the package is loaded and \code{name} is re-evaluated in the new
|
| 31 |
package's environment. The result is that \R behaves as if
|
31 |
package's environment. The result is that \R behaves as if
|
| 32 |
\code{file} was loaded but it does not occupy memory.
|
32 |
\code{package} was loaded but it does not occupy memory.
|
| 33 |
|
33 |
|
| 34 |
\code{.Autoloaded} contains the names of the packages for
|
34 |
\code{.Autoloaded} contains the names of the packages for
|
| 35 |
which autoloading has been promised.
|
35 |
which autoloading has been promised.
|
| 36 |
}
|
36 |
}
|
| 37 |
\value{
|
37 |
\value{
|