# Importing R Code in Knime

**URL:** <https://forum.knime.com/t/importing-r-code-in-knime/11260>\
**Category:** KNIME Extensions\
**Tags:** scripting\
**Created:** [June 10, 2018, 8:15am UTC](https://forum.knime.com/t/importing-r-code-in-knime/11260 "2018-06-10T08:15:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [June 10, 2018, 10:53am UTC](https://forum.knime.com/t/importing-r-code-in-knime/11260/3 "2018-06-10T10:53:08Z")

</div>

There are two basic possibilities to use R with KNIME

- you have a R version on your computer and you point KNIME to it (“KNIME Interactive R Statistics Integration”)
- KNIME provides you with an ‘integrated’ R package that sits somewhere deep in the KNIME folders (“KNIME R Statistics Integration (Windows Binaries)”)

I would advise to use the first option. So first to proper install R (and maybe RStudio to have an easier handling) and then point KNIME to it. There are further R integrations but they may be confusing but they can coexist.

You would have to make sure KNIME recognises the R version when you press apply in the settings. Not red text or warnings. The screenshot is from a Mac but Windows should behave in the same way.

The path in your first screenshot is not the path that is shown in the second one. And I think KNIME wants full blown windows paths - with c:\program files…

 ![48](https://forum-cdn.knime.com/uploads/default/original/2X/3/3b8ddf02fd642d6c23483c7dcd9ea7f2472d8d55.png)

---

_[View the full topic](https://forum.knime.com/t/importing-r-code-in-knime/11260)._
