R: fix interface to intersection API changes (#20).