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