prolog Enable support for connecting R to Prolog