RLargeProblems

From Icbwiki

Jump to: navigation, search

This page describes how to increase the memory available in R, and how to start an RServe R server..

Start the R process with 5G max of memory (for dynamically allocated vectors):

 R --max-vsize=5G
 library(Rserve)

Start RServe on port 7001:

 Rserve(7001)

The server should respond:

 ...
 Rserve: Ok, ready to answer queries.

If you see a message about ports being already used, look for Rserve-bin.so processes and kill them. Then repeat the steps.

Personal tools