From efg at stowers-institute.org  Wed Feb 27 17:12:14 2008
From: efg at stowers-institute.org (Earl F. Glynn)
Date: Wed, 27 Feb 2008 10:12:14 -0600
Subject: [Rd] Unix-like touch to update modification timestamp of file?
References: <59d7961d0802262154r2e049998yf5ce8ea08ab5d249@mail.gmail.com>
Message-ID: <fq4251$6jp$1@ger.gmane.org>

"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



[Rd] Unix-like touch to update modification timestamp of file?
Earl F. Glynn