From hb at stat.berkeley.edu  Wed Feb 27 19:27:50 2008
From: hb at stat.berkeley.edu (Henrik Bengtsson)
Date: Wed, 27 Feb 2008 10:27:50 -0800
Subject: [Rd] Unix-like touch to update modification timestamp of file?
In-Reply-To: <971536df0802270824q2b1165f3seb6648db33337ebc@mail.gmail.com>
References: <59d7961d0802262154r2e049998yf5ce8ea08ab5d249@mail.gmail.com>
	<fq4251$6jp$1@ger.gmane.org>
	<971536df0802270824q2b1165f3seb6648db33337ebc@mail.gmail.com>
Message-ID: <59d7961d0802271027s14b6ee1av669d5b2f788fcc20@mail.gmail.com>

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?

Thanks to both you.

Henrik

>
>
>
>
>
>  On Wed, Feb 27, 2008 at 11:12 AM, Earl F. Glynn
>  <efg at stowers-institute.org> wrote:
>  > "Henrik Bengtsson" <hb at stat.berkeley.edu> wrote in message
>  > news:<59d7961d0802262154r2e049998yf5ce8ea08ab5d249 at mail.gmail.com>...
>  >
>  >
>  > > 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 at r-project.org mailing list
>  > https://stat.ethz.ch/mailman/listinfo/r-devel
>  >
>
>  ______________________________________________
>  R-devel at r-project.org mailing list
>  https://stat.ethz.ch/mailman/listinfo/r-devel
>



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