[R] R Studio: Run script upon saving or exiting

Duncan Murdoch murdoch.duncan at gmail.com
Sat Aug 13 22:07:19 CEST 2016


On 13/08/2016 4:02 PM, Jan Kacaba wrote:
> Dear R help,
>
> I would like to run script upon saving project files or exiting the R Studio.
> For example I would like to backup whole project in another directory.
> The backup directory should be named such that incremental version
> number will added to project name.
>
> Is it somehow possible?  Even better would be if someone can also
> quickly go through file versions.
>

You should be asking RStudio questions on one of their support forums.

Regarding the backups:  I recommend that you use a version control 
system (e.g. svn or git) as an efficient way to do that.

Duncan Murdoch



More information about the R-help mailing list