[Rd] R 3.1.0: 'R CMD Sweave' deletes non tex files created upon batch mode exit

Marc Schwartz marc_schwartz at me.com
Sat Apr 19 16:37:30 CEST 2014

On Apr 19, 2014, at 8:05 AM, Martin Maechler <maechler at stat.math.ethz.ch> wrote:

>>>>>> Martin Maechler <maechler at stat.math.ethz.ch>
>>>>>>    on Thu, 17 Apr 2014 11:22:04 +0200 writes:
> [................]
>> PS: I'm currently testing a patch where 'R CMD Sweave' will
>> revert to not deleting anything after running the R code by default.
>> Martin Maechler
> Some may have noted that R-devel, since svn revsion 65401 (= 2014-04-17 12:19:44 +0200)
> now is patched, with log message
>> R CMD Sweave must not delete files by default; buildVignette(*, keep);
>> update (and fix/clarify) documentation; 
>> cosmetic (& speedup in buildVignettes())
> The daily (source!) snapshots of R devel now also contain it.
> We plan to port the patch to 'R 3.1.0 patched' (to become 3.1.1
> in the future) after the Easter holidays...
> and would be glad if some volunteers could support development
> of R by testing this (or newer) version of R-devel.
> Martin Maechler, ETH Zurich

Hi Martin,

Thanks for this.

I removed 3.1.0 release on my Mac and cleanly installed:

  R Under development (unstable) (2014-04-17 r65403) -- "Unsuffered Consequences"

from Simon's binary site. This is using the Mavericks binary, albeit on Simon's site, it indicates r65407.

I ran the prior .Rnw file that started this thread and it now works fine, as the created 'non-tex' files are retained upon completion of the R CMD Sweave run.

Thanks for the efforts in fixing this issue.


Marc Schwartz

More information about the R-devel mailing list