Skip to content
Prev 227249 / 398500 Next

How to select the column header with \Sexpr{}

Thanks for the quick reply Duncan.
I don't?think I?have explained myself well, I have a dataset named "report" and 
my column headers are?run1,run2,run3,run4 and so on. 

I know how to access the data below those columns with \Sexpr{report[1,1]} & 
&\Sexpr{report[1,2]} and so on, but I can't access my column headers
with \Sexpr{} because I can't find the way to reference run1,run2,run3 and run4. 
Sorry if I am not explain myself really well.
?



----- Original Message ----