[R] string interpolation

Justin Haynes jtor14 at gmail.com
Mon Mar 21 20:03:05 CET 2011


Is there a way to do this in R? I have data in the form:

57_input  57_output  58_input  58_output  etc.

can i use a for loop (i in 57:n)  that plots only the outputs?  I want
this to be robust so im not specifying a column id but rather
something like c++ code,

%s_input, i

is that doable in R?

Thanks,
justin



More information about the R-help mailing list