[R] Storing tableGrobs in a list

Stats Student @t@t@@@tudent4647 @ending from gm@il@com
Thu Jun 14 04:43:21 CEST 2018

Hi, I'm trying to generate tableGrobs in a loop, store them in a list so I
can use it in a call to gtable_combine().

for (i in seq( ... )) {
   L1[i] <-tableGrob( ... )

gtable_combine(L1, along=1)

On the assignment inside the loop, I get "number of items to replace is not
a multiple of replacement length" which I'm guessing has to do with the
tableGrob object not "fitting" in the list but am not sure how to fix it.

Thanks in advance for any pointers.

	[[alternative HTML version deleted]]

More information about the R-help mailing list