added polyData2R and get correct representer