| Line 26... |
Line 26... |
| 26 |
For large files, \code{keep.source = FALSE} may save quite a bit of
|
26 |
For large files, \code{keep.source = FALSE} may save quite a bit of
|
| 27 |
memory.
|
27 |
memory.
|
| 28 |
%%FIXME: the following paragraph should be somewhere it's likely to be seen
|
28 |
%%FIXME: the following paragraph should be somewhere it's likely to be seen
|
| 29 |
In order for the code being evaluated to use the correct environment
|
29 |
In order for the code being evaluated to use the correct environment
|
| 30 |
(for example, in global assignments), source code in packages should
|
30 |
(for example, in global assignments), source code in packages should
|
| 31 |
call
|
31 |
call
|
| 32 |
\code{\link{topenv}}(), which will return the namespace, if any, the
|
32 |
\code{\link{topenv}()}, which will return the namespace, if any, the
|
| 33 |
environment set up by \code{sys.source}, or the global environment
|
33 |
environment set up by \code{sys.source}, or the global environment
|
| 34 |
if a saved image is being used.
|
34 |
if a saved image is being used.
|
| 35 |
}
|
35 |
}
|
| 36 |
\seealso{\code{\link{source}}, and \code{\link{library}} which uses
|
36 |
\seealso{\code{\link{source}}, and \code{\link{library}} which uses
|
| 37 |
\code{sys.source}.
|
37 |
\code{sys.source}.
|