Site icon R-bloggers

RServe: Getting Started

[This article was first published on R on datawookie, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Rserve is a server which allows other programs to use the facilities of R via TCP/IP.

Installing

Since Rserve gets installed to system folders, you need to do the install as the root user.

# Become root.
$ sudo su
# Run R as root.
$ R
> install.packages("Rserve")

Running

To launch as a daemon.

$ R CMD Rserve

To launch in debug mode.

$ R CMD Rserve.dbg

To leave a comment for the author, please follow the link and comment on their blog: R on datawookie.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.