Skip to content

Commit

Permalink
sync and cover \value as intended
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@84744 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
smeyer committed Jul 24, 2023
1 parent 0f18aa0 commit ed527e3
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions doc/manual/R-exts.texi
Original file line number Diff line number Diff line change
Expand Up @@ -6922,30 +6922,31 @@ As an example, let us look at a simplified version of
\alias@{load@}
\title@{Reload Saved Datasets@}
\description@{
Reload the datasets written to a file with the function
\code@{save@}.
Reload datasets written with the function \code@{save@}.
@}
\usage@{
load(file, envir = parent.frame())
load(file, envir = parent.frame(), verbose = FALSE)
@}
\arguments@{
\item@{file@}@{a connection or a character string giving the
name of the file to load.@}
\item@{envir@}@{the environment where the data should be
loaded.@}
\item@{file@}@{a (readable binary-mode) \link@{connection@}
or a character string giving the name of the file to load
(when \link@{tilde expansion@} is done).@}
\item@{envir@}@{the environment where the data should be loaded.@}
\item@{verbose@}@{should item names be printed during loading?@}
@}
\value@{
A character vector of the names of objects created, invisibly.
@}
\seealso@{
\code@{\link@{save@}@}.
@}
\examples@{
@c reproducing only a minimal and simplified subset of the examples here
## save all data
save(list = ls(), file= "all.RData")
save(list = ls(all.names = TRUE), file = "all.RData")

## restore the saved values to the current environment
load("all.RData")

## restore the saved values to the workspace
load("all.RData", .GlobalEnv)
@}
\keyword@{file@}
@end smallexample
Expand Down

0 comments on commit ed527e3

Please sign in to comment.