[R] Generating unique filenames.

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Mar 6 15:25:26 CET 2013



On 06.03.2013 15:20, Sahana Srinivasan wrote:
> Hi,
> I am trying to create unique filenames for my output text file. The idea is
> that I would like to append a string to ".zsc.txt" so that all my files are
> uniquely named but with a similar format. I have tried adding the string
> variable to ".zsc.txt" while creating the output file name, i.e.
> write.table function, is what I have tried using :
>
> write.table(x, file=str,".",".zsc.txt"....);
>
> but it isn't working.
>

?paste

Uwe Ligges


>
>
> Would appreciate everyone's input on the matter. Thanks :)
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list