After I run my script I save all my output e.g.

write.table(d, file = "C:/PINEheight.txt)
write.table(v, file = "C:/PINEvolume.txt)
write.table(v, file = "C:/PINEdiameter.txt)
write.table(v, file = "C:/PINEdensity.txt)

and then I would like to run again with another tree and save again e.g
write.table(d, file = "C:/POPULUSheight.txt)

Is there anyhow I can define a variable as "tree name" and make it change
everytime in all the output files names e.g.
write.table(d, file = "C:/"tree name" height.txt)

Thanks in advance
Márcio
-- 
View this message in context: 
http://www.nabble.com/chage-the-output-file-name-tp25530892p25530892.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.

Reply via email to