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

MacQueen, Don macqueen1 at llnl.gov
Mon Aug 15 18:01:16 CEST 2016

for information on how to cause something to happen when R exits.
(whether R Studio overrides this I don't know)


Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550

On 8/13/16, 1:02 PM, "R-help on behalf of Jan Kacaba"
<r-help-bounces at r-project.org on behalf of jan.kacaba at gmail.com> wrote:

>Dear R help,
>I would like to run script upon saving project files or exiting the R
>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.
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list