ALSO .... I have had a play with cat() but have also not got this to work....
e.g. write(x, file = cat(input.variable.name , file = "", sep = "_data.txt", ), ...) but this does not seem to work and I'm sure it is not the correct use of cat() Thanks. -- View this message in context: http://r.789695.n4.nabble.com/using-an-objects-contents-in-a-text-string-tp2338061p2338106.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.