[Rd] Unix-like touch to update modification timestamp of file?

Nicholas Lewin-Koh nikko at hailmail.net
Fri Feb 29 01:36:40 CET 2008


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" <ggrothendieck at gmail.com>
Subject: Re: [Rd] Unix-like touch to update modification timestamp of
        file?
To: "Henrik Bengtsson" <hb at stat.berkeley.edu>
Cc: r-devel at stat.math.ethz.ch
Message-ID:
        <971536df0802271223s13462925w2b3fd5d7f90805b at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Feb 27, 2008 at 1:27 PM, Henrik Bengtsson <hb at stat.berkeley.edu>
wrote:
> On Wed, Feb 27, 2008 at 8:24 AM, Gabor Grothendieck
> <ggrothendieck at gmail.com> 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



More information about the R-devel mailing list