Changing workspace from within an R session
On Tue, 20 Jan 2004 10:51:36 -0500
gerald.jean at dgag.ca wrote:
Hello R-users, is it possible to navigate from one workspace to the other from within an R session or does one has to close R and restart it from the directory where resides the desired workspace?
....
G?rald Jean Analyste-conseil (statistiques), Actuariat
Gerald,
I am getting in the habit of explicitly using save(..., compress=TRUE) and
load( ) in R. Sometimes it adds code but I like the level of control and
the selective saving of only the important objects (usually data frames
and regression fit objects for me). You could easily make a load2
function that would accept a separate path argument and set the path in a
variable. Do you have reactions to this approach? -Frank
---
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt University