| Line 63... |
Line 63... |
| 63 |
Saved \R objects are binary files, even those saved with
|
63 |
Saved \R objects are binary files, even those saved with
|
| 64 |
\code{ascii = TRUE}, so ensure that they are transferred without
|
64 |
\code{ascii = TRUE}, so ensure that they are transferred without
|
| 65 |
conversion of end of line markers. \code{load} tries to detect such a
|
65 |
conversion of end of line markers. \code{load} tries to detect such a
|
| 66 |
conversion and gives an informative error message.
|
66 |
conversion and gives an informative error message.
|
| 67 |
|
67 |
|
| 68 |
\code{load(<file>)} replaces all existing objects with the same names
|
68 |
\code{load(\var{file})} replaces all existing objects with the same names
|
| 69 |
in the current environment (typically your workspace,
|
69 |
in the current environment (typically your workspace,
|
| 70 |
\code{\link{.GlobalEnv}}) and hence potentially overwrites important data.
|
70 |
\code{\link{.GlobalEnv}}) and hence potentially overwrites important data.
|
| 71 |
It is considerably safer to use \code{envir = } to load into a
|
71 |
It is considerably safer to use \code{envir = } to load into a
|
| 72 |
different environment, or to \code{\link{attach}(file)} which
|
72 |
different environment, or to \code{\link{attach}(\var{file})} which
|
| 73 |
\code{load()}s into a new entry in the \code{\link{search}} path.
|
73 |
\code{load()}s into a new entry in the \code{\link{search}} path.
|
| 74 |
}
|
74 |
}
|
| 75 |
#ifdef windows
|
75 |
#ifdef windows
|
| 76 |
\note{
|
76 |
\note{
|
| 77 |
\code{file} can be a UTF-8-encoded filepath that cannot be translated to
|
77 |
\code{file} can be a UTF-8-encoded filepath that cannot be translated to
|