Crystal structure and magnetic properties of R11Co4In9 (R=Tb, Dy, Ho and Er) compounds