[R] chage the output file name

Rolf Turner r.turner at auckland.ac.nz
Wed Sep 23 02:19:55 CEST 2009


On 23/09/2009, at 12:14 PM, Henrique Dallazuanna wrote:

> Try this:
>
> treeName <- "PINE"
> write.table(d, file = sprintf("C:/%sheight.txt", treeName))

Why not use the (less esoteric) paste() function?

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}




More information about the R-help mailing list