R: fix building, add EDGESET_OR_0 C type