# R Snippet Error

**URL:** <https://forum.knime.com/t/r-snippet-error/21577>\
**Category:** KNIME Analytics Platform\
**Created:** [March 6, 2020, 4:39pm UTC](https://forum.knime.com/t/r-snippet-error/21577 "2020-03-06T16:39:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [March 6, 2020, 4:49pm UTC](https://forum.knime.com/t/r-snippet-error/21577/2 "2020-03-06T16:49:32Z")

</div>

You might want to make sure you have the latest versions of KNIME, R and Rserve installed (_yes you will need the version 1.8.6_).

> **[check version of R packages in KNIME – mlauber71](https://hub.knime.com/mlauber71/spaces/Public/kn_example_r_check_version_of_package~annQfxz-Mrtn2BNm/current-state)**
>
> demonstrates how to check the versions of every R package. And specifically check for the version of the RServe package. With the help of the package sessionin…

Unfortunately that can be a bit of an effort.

RServe 1.8.6 on MacOSX

> [@Installing Rserve 1.8-6 on macOS 10.15. (Catalina)](https://forum.knime.com/t/installing-rserve-1-8-6-on-macos-10-15-catalina/20909/6):
>
> @s_rupp, this is a known issue and we have a script for that. Gonna send you the script via PM tomorrow morning. We are working on a proper docu for the R extension slight_smile that links that script. Best Mark

RServe 1.8.6 on Windows

> [@Compiling Rserve 1.8-6 on Windows 7 (64bit)](https://forum.knime.com/t/compiling-rserve-1-8-6-on-windows-7-64bit/18318):
>
> Because I never found this advice anywhere I thought I’d leave it here to potentially help others: tl;dr On Windows 7 (64bit), try compiling the Rserve package like this: install.packages("Rserve",, "http://rforge.net/", type = "source", INSTALL\_opts = "--no-multiarch")) The longer version: After updating the R installation that I was using with Knime from version 3.4.4 to 3.6.1, some R nodes in my workflows started failing. I quickly found that with R \>= 3.5.0 you need the latest Rserve 1.8…

R and Rtools

> [@how to import tables from .docx documents via R snippet](https://forum.knime.com/t/how-to-import-tables-from-docx-documents-via-r-snippet/19284/10):
>
> Not exactly sure what you mean by installed by both R and RStudio. Typically you should only have one R installation with one library. You could try and check your version’s library with this comand: .libPaths() The error messages hint that you do not have the relevant package docxtractr installed. And you will have to install RServe in the latest version. One thing I had success wit recently is described here: After you have done that you could tell RStudio to find the Rtools necessary to…

---

_[View the full topic](https://forum.knime.com/t/r-snippet-error/21577)._
