Edit whit GT in RSrudio

It looks like you are setting up a fairly complex table (plot?). I'd say we need a lot more information on exactly what you are doing, packages used and so on. Something that may work in one package may not work in another, and without a better idea of your code layout it may be difficult to make good suggestions.

Can you give us a example? See FAQ for some suggestions.