try.f:97.72:

      g1=c(1,i1,j,l)+c(1,i2,j,l)+c(1,i,j1,l)+c(1,i,j2,l)+c(1,i,j,l1)+c(1
                                                                        1
Error: Invalid form of array reference at (1)