

   load {base}                                  R Documentation

   RReellooaadd SSaavveedd DDaattaasseettss

   DDeessccrriippttiioonn::

        This function will reload the datasets written to a
        file with the function `save'.

   UUssaaggee::

        load(filename, envir = sys.frame(sys.parent())))

   AArrgguummeennttss::

   filename: a character string giving the name of the file to
             load.

      envir: the environment where the data should be loaded

   SSeeee AAllssoo::

        `save'.

   EExxaammpplleess::

        # save all data
        save(list = ls(), file= "all.Rdata")

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

        # restore the saved values to the global environment
        load("all.Rdata",globalenv())

