Re: [Rd] Unix-like touch to update modification timestamp of file?
Wow, this has to win the prize for some of the most obscure documentation ever. Kudos on your M$-archaeology. Nicholas Message: 9 Date: Wed, 27 Feb 2008 15:23:51 -0500 From: Gabor Grothendieck [EMAIL PROTECTED] Subject: Re: [Rd] Unix-like touch to update modification timestamp of file? To: Henrik Bengtsson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 On Wed, Feb 27, 2008 at 1:27 PM, Henrik Bengtsson [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 8:24 AM, Gabor Grothendieck [EMAIL PROTECTED] wrote: If you only need Windows then this will do it even without RTools: shell(copy /b /v myfile +,,nul) Interesting. Show I figured out that '+' is for append, but how to interpret the two commas? Commas generally have various undocumented effects in Windows batch and sometimes Microsoft mentions one: http://support.microsoft.com/kb/69581 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Unix-like touch to update modification timestamp of file?
Henrik Bengtsson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... is it possible to update the modification time stamp of a file using R (on file systems supporting it)? For a Windows PC, if you have RTools in your path (from http://www.murdoch-sutherland.com/Rtools/installer.html), then you should be able to use the touch that's in the RTools\bin directory: system(touch sample.dat) efg Earl F. Glynn Bioinformatics Stowers Institute for Medical Research __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Unix-like touch to update modification timestamp of file?
If you only need Windows then this will do it even without RTools: shell(copy /b /v myfile +,,nul) On Wed, Feb 27, 2008 at 11:12 AM, Earl F. Glynn [EMAIL PROTECTED] wrote: Henrik Bengtsson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... is it possible to update the modification time stamp of a file using R (on file systems supporting it)? For a Windows PC, if you have RTools in your path (from http://www.murdoch-sutherland.com/Rtools/installer.html), then you should be able to use the touch that's in the RTools\bin directory: system(touch sample.dat) efg Earl F. Glynn Bioinformatics Stowers Institute for Medical Research __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Unix-like touch to update modification timestamp of file?
On Wed, Feb 27, 2008 at 8:24 AM, Gabor Grothendieck [EMAIL PROTECTED] wrote: If you only need Windows then this will do it even without RTools: shell(copy /b /v myfile +,,nul) Interesting. Show I figured out that '+' is for append, but how to interpret the two commas? Thanks to both you. Henrik On Wed, Feb 27, 2008 at 11:12 AM, Earl F. Glynn [EMAIL PROTECTED] wrote: Henrik Bengtsson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... is it possible to update the modification time stamp of a file using R (on file systems supporting it)? For a Windows PC, if you have RTools in your path (from http://www.murdoch-sutherland.com/Rtools/installer.html), then you should be able to use the touch that's in the RTools\bin directory: system(touch sample.dat) efg Earl F. Glynn Bioinformatics Stowers Institute for Medical Research __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel