[R] Synchronzing workspaces

Paul August paulaugust2003 at yahoo.com
Fri Aug 31 04:17:33 CEST 2007

I used to work on several computers and to use a flash drive to synchronize the workspace on each machine before starting to work on it. I found that .RData always caused some trouble: Often it is corrupted even though there is no error in copying process. Does anybody have the similar experience?


----- Original Message ----
From: Barry Rowlingson <b.rowlingson at lancaster.ac.uk>
To: Eric Turkheimer <ent3c at virginia.edu>
Cc: r-help at stat.math.ethz.ch
Sent: Wednesday, August 22, 2007 9:43:57 AM
Subject: Re: [R] Synchronzing workspaces

Eric Turkheimer wrote:
> How do people go about synchronizing multiple workspaces on different
> workstations?  I tend to wind up with projects spread around the various
> machines I work on.  I find that placing the directories on a server and
> reading them remotely tends to slow things down.

  If R were to store all its workspace data objects in individual files 
instead of one big .RData file, then you could use a revision control 
system like SVN.  Check out the data, work on it, check it in, then on 
another machine just update to get the changes.

  However SVN doesn't work too well for binary files - conflicts being 
hard to resolve without someone backing down - so maybe its not such a 
good idea anyway...

  On unix boxes and derivatives, you can keep things in sync efficiently 
with the 'rsync' command.  I think there are GUI addons for it, and 
Windows ports.


R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Comedy with an Edge to see what's on, when.

More information about the R-help mailing list