R source community node connection error

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

2 Likes