From marc_schwartz at me.com  Sat Apr 19 16:37:30 2014
From: marc_schwartz at me.com (Marc Schwartz)
Date: Sat, 19 Apr 2014 09:37:30 -0500
Subject: [Rd] R 3.1.0: 'R CMD Sweave' deletes non tex files created upon
 batch mode exit
In-Reply-To: <21330.29855.529905.505417@stat.math.ethz.ch>
References: <4E473ADD-6080-496D-AF34-15AEDEE52CDB@me.com>
	<21323.54364.87334.81949@stat.math.ethz.ch>
	<CAD32310-9E37-43A0-8CA6-9FF4A01C5324@me.com>
	<534D14AF.8020500@gmail.com>
	<2C3A5ADD-8560-448F-8042-74D68EBF922D@gmail.com>
	<534D2C0A.3090502@gmail.com>
	<21327.40252.449500.713638@stat.math.ethz.ch>
	<21330.29855.529905.505417@stat.math.ethz.ch>
Message-ID: <F996C27F-6E02-4FFB-9982-88E7FDA70257@me.com>


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.

Regards,

Marc Schwartz



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