Questions tagged [rserve]

Rserve is a server which allows other programs to use facilities of R either using TCP/IP or unix sockets.

Rserve is an open-source server which allows other programs to use facilities of R either using TCP/IP or unix sockets. It supports parallel connections, data and code pre-loading, which makes it possible to use R from web pages and other systems due to its fast response. The distribution includes Java, C++ and PHP clients. 3rd party clients for other systems exists as well.

Rserve is a TCP/IP server which allows other programs to use facilities of R from various languages without the need to initialize R or link against R library. Every connection has a separate workspace and working directory. Rserve supports remote connection, authentication and file transfer. Typical use is to integrate R backend for computation of statstical models, plots etc. in other applications.

235 questions
0
votes
1 answer

CAPM.jensenAlpha not working with Ubuntu

I have the same procedure to install my R and the packages that I need. But I'm having this weird behaviour where when I ran my R script below in my centOS 7 the result is correct. But when I ran the same script in my Ubuntu 14 I have this error,…
Valter Silva
  • 16,446
  • 52
  • 137
  • 218
0
votes
1 answer

Print result in R console when passing variables to R script from Tableau to R

I am sending passing R scripts to R from Tableau and would like to be able to see the result in the R console. I have got this to work in the past, but not sure how to do it again. In R I've ran the following lines of code: Note, [Petal Length]…
Ryan Chase
  • 2,384
  • 4
  • 24
  • 33
0
votes
1 answer

Rserve fails to set up connection in actionPerformed method in Java GUI code

I am working on developing a GUI using Java. The GUI at some point would make a connection to R using Rserve to perform some function. I first tested the connection with R using Rserve in the main method the GUI and it worked perfectly. Here is the…
novicegeek
  • 773
  • 2
  • 9
  • 29
0
votes
1 answer

Rserve setting for connect to Tableau

This is the first time I have tried to connect R and Tableau. I have downloaded and installed Rserve successfully but every time I try to start Rserve is get this warning: Starting…
0
votes
1 answer

Multiple connections with shared memory using PyRserve

I am using PyRserve. I am want to perform some R evaluations from multiple running python processes. All these evaluations need to use the same global variables, so it would save a lot of time if every new connection could use these variables after…
abhgh
  • 308
  • 1
  • 9
0
votes
0 answers

subprocess.Popen still waits when starting Rserve

Local system: OSX 10.10.3 Yosemite Python 2.7 Remote Server: NAME="Amazon Linux AMI" VERSION="2014.09" I'm trying to use Python to start (restart) the Rserve processes on the server. I'm able to start it as ec2-user either directly ($R CMD Rserve…
RightmireM
  • 2,381
  • 2
  • 24
  • 42
0
votes
1 answer

Memory management with Rserve on Windows

I need to perform various tasks with Python: sensitivity analysis, optimization and simulation launching. However the first postprocessing of simulation results relies on R and a bulky database stored in Rdata (8 Gb with some data tables…
Antoine Gautier
  • 623
  • 8
  • 25
0
votes
1 answer

`Rserve` is not recognised as internal or external command.

The basic set-up is to have a Java based UI and R running in the background. Rserve utility helps to address this kind of a situation. It's known that Rserve, although not a package, but can be installed and run like a normal R package. A simple…
sunitprasad1
  • 768
  • 2
  • 12
  • 28
0
votes
1 answer

Unable to execute RSeval() in remotely connected client in R

I was executing RSeval(c,"4+5"); and encountered : Error in RSeval(c,"4+5") : remote evaluation failed in a remote machine connected to a linux server which is running daemon Rserve, where c is connection object. The connection was successful…
vdep
  • 3,541
  • 4
  • 28
  • 54
0
votes
2 answers

Rserve error in rstudio

Rserve() Starting Rserve: /usr/lib/R/bin/R CMD /home/dipti/R/x86_64-pc-linux-gnu-library/3.1/Rserve/libs//Rserve Fatal error: you must specify '--save', '--no-save' or '--vanilla'
0
votes
3 answers

How to Start RServe pre-loaded with library

I need to load a library every time I am making a new RConnection. Is it possible to have it pre-loaded when I start RServe? Loading it every time a new RConnection is making it slower.
Nitin
  • 3
  • 3
0
votes
1 answer

How to work with R from within Processing without creating in every iteration a new connection

I'm trying to create a program on Processing that can do some calculations in R with each iteration of the draw part of Processing. These calculations need to be done with a function inside a package I need to load in the Rsession. I'm using Rserve…
Diego Aguado
  • 1,604
  • 18
  • 36
0
votes
1 answer

Error when starting Rserve bind error address already in use

When I run the command Rserve(args="--no-save") I get the following error: SOCK_ERROR: bind error #48 (address already in use) besides that when I try the following code in my processing application: if (gameStart) { x = x + speedX; y = y +…
Diego Aguado
  • 1,604
  • 18
  • 36
0
votes
1 answer

How to call an R function with a dot in its name by pyRserve?

pyRserve module is really handy when interacting with Rserve session from python. You get access to an R object by prefix its name with expression like "conn.r" or "conn.ref" import pyRserve import numpy conn = pyRserve.connect() conn.r.List =…
Madcat
  • 379
  • 2
  • 7
0
votes
0 answers

How to resolve issues with using external packages in IntelliJ?

I recently switched from eclipse to Intellij and hence I am new new to it. Till a day before I was successfully able to compile my java program (maven) and generate output. The program uses multiple external packages and also Rserve to connect to R.…
novicegeek
  • 773
  • 2
  • 9
  • 29