Hello,
I would like to be able to write all files produced on one day to an output
directory with that date stamp, or alternatively stamp the date in the
filename. So that if i run the same code the next day the files will not be
overwritten.
here's what i have to start with:
baseDir = getwd()
Try this:
write.table(test.table, file.path(outputDir, test.table.txt), sep=\t)
On Mon, Aug 31, 2009 at 4:45 AM, suzylee c.me...@sms.ed.ac.uk wrote:
Hello,
I would like to be able to write all files produced on one day to an output
directory with that date stamp, or alternatively stamp
On 31-Aug-09 13:18:38, Henrique Dallazuanna wrote:
Try this:
write.table(test.table, file.path(outputDir, test.table.txt),
sep=\t)
That may not work (depending on the platform OS) if the directory
'outputDir' does not already exist (it will not work on Linux).
In that case, first:
+ )
--
David
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of suzylee
Sent: Monday, August 31, 2009 3:45 AM
To: r-help@r-project.org
Subject: [R] write file to date-stamped folder
Hello,
I would like to be able to write all
4 matches
Mail list logo