Thankyou!!! I knew this was so simple and I had tried paste but with the
wrong syntax so I moved on. This opens a whole new world to me!!
--
View this message in context:
http://r.789695.n4.nabble.com/using-an-objects-contents-in-a-text-string-tp2338061p2339437.html
Sent from the R help mailin
I'm a bit confused by your question, but you might just want paste:
paste(input.variable.name, "data.txt", sep="_")
Sarah
On Wed, Aug 25, 2010 at 8:06 AM, josquint wrote:
>
> ALSO I have had a play with cat() but have also not got this to
> work
>
>
> e.g.
>
> write(x, file = cat(inpu
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
3 matches
Mail list logo