Skip to content
Prev 42995 / 398506 Next

Changing workspace from within an R session

On Tue, 20 Jan 2004 10:51:36 -0500
gerald.jean at dgag.ca wrote:

            
....
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