Learn R Programming

RSurvey (version 0.6-0)

RestoreSession: Restore R Session from Source Files

Description

This function restores local objects within the current Rsession.

Usage

RestoreSession(path, save.objs, fun.call)

Arguments

path
character; directory pathname, if missing a folder browser pop up dialog box is implemented.
save.objs
character; a vector of local object names. These objects will be preserved during the recompiling process.
fun.call
character, the name of the function to call after restoring the session (optional.)

Value

  • An updated Rsession compiled from .R source code files located in path and its recursive directories.

See Also

list.files, source

Examples

Run this code
RestoreSession()

Run the code above in your browser using DataLab