Evidence of low-dimensional antiferromagnetic ordering and crystal structure in the R2BaNiO5 (R=Y,Er) oxides.