# R source community node connection error

**URL:** <https://forum.knime.com/t/r-source-community-node-connection-error/13087>\
**Category:** Community Extensions\
**Tags:** scripting-extensions, r\
**Created:** [January 7, 2019, 11:38am UTC](https://forum.knime.com/t/r-source-community-node-connection-error/13087 "2019-01-07T11:38:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bsaltzman](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/b/cdc98d/32.png) [@bsaltzman](https://forum.knime.com/u/bsaltzman)\
**Post date:** [January 7, 2019, 11:38am UTC](https://forum.knime.com/t/r-source-community-node-connection-error/13087/1 "2019-01-07T11:38:12Z")

</div>

Error from the community R source node:

ERROR R Source 2:13 Execute failed: Failed to parse the script:  
eval failed

the script is 1+1

R 3.5.2

Rserve 1.7.3

Starting R using:

library(Rserve)

Rserve(debug = TRUE, args = "–RS-conf /Rserv.conf --vanilla")

Rserv.conf content:

remote enable  
auth disable  
fileio enable  
maxinbuf 500000

Any help would be greatly appreciated.

---

<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:** [January 14, 2019, 10:57pm UTC](https://forum.knime.com/t/r-source-community-node-connection-error/13087/2 "2019-01-14T22:57:25Z")

</div>

To use the community R source node you will have to start the RServe from R itself. Like this (you will have to have Rserve and RSclient installed):

_library(Rserve)_  
_library(RSclient)_

_Rserve(port = 6311, debug = FALSE, args = “–vanilla”)_

_# start the RServe(er)_  
_rsc ← RSconnect(port = 6311)_

_# shutdown the server after you used it_  
_RSshutdown(rsc)_

And you will have to set the preferences

 ![image](https://forum-cdn.knime.com/uploads/default/original/2X/2/259b47daf0aeea3f2ee9ae92d140eb1b6dd7002e.png)

——  
Edit: [KNIME and R — installation across operating systems — some remarks | by Markus Lauber | Low Code for Data Science | Medium](https://medium.com/low-code-for-advanced-data-science/knime-and-r-installation-across-operating-systems-some-remarks-6494a2a498cc)

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [April 21, 2023, 9:28pm UTC](https://forum.knime.com/t/r-source-community-node-connection-error/13087/3 "2023-04-21T21:28:04Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
