[R] moving/copy objects between work space

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue May 2 08:50:51 CEST 2006


Anne S Jacobson wrote:

> Hi,
> 
> I know there must be a way to do this, but I went through a couple 'Intro 
> to R' books and didn't see how to do this.
> 
> How do I move/copy objects from one work space to another? I have been 
> saving the objects I want to move/copy separately then load them into 
> another work space. Is there a more direct way to do this?


Use save() to save only specific objects.

Generally, I do not recommend to use Workspace extensivly:
I rather recommend to try to write reproducible code that generates 
objects for your reproducible research/data analysis.
If code needs a considerable amount of time to reproduce an object, save 
this object with save() explicitly and use load() in your code.

Uwe Ligges



> Thanks!
> 
> Anne
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list