# Rolog - calling Prolog from R

**URL:** <https://swi-prolog.discourse.group/t/rolog-calling-prolog-from-r/4749>\
**Category:** Pack\
**Created:** [December 12, 2021, 8:21am UTC](https://swi-prolog.discourse.group/t/rolog-calling-prolog-from-r/4749 "2021-12-12T08:21:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgondan1](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/mgondan1/32/803_2.png) [@mgondan1](https://swi-prolog.discourse.group/u/mgondan1)\
**Post date:** [December 12, 2021, 8:21am UTC](https://swi-prolog.discourse.group/t/rolog-calling-prolog-from-r/4749/1 "2021-12-12T08:21:43Z")

</div>

Dear Community,

I am happy to announce an R package that embeds swipl and allows queries going forth and back between the two systems.

> **[GitHub - mgondan/rolog: Access SWI-Prolog from R](https://github.com/mgondan/rolog)**
>
> Access SWI-Prolog from R. Contribute to mgondan/rolog development by creating an account on GitHub.

Installation should work from Linux, Windows (R 4.2) and macOS. The package is still at an early stage, so any suggestions or improvements are welcome.

Best wishes

Matthias
