[R-SIG-Mac] More FastRWeb questions

Joe Schwab joeschwabmd+R-SIG-Mac at gmail.com
Tue May 8 14:53:32 CEST 2012

Hello all,

I am in the process of installing the latest CRAN repository versions
of Rserve (0.6-8) and FastRWeb (1.0-1) on MacOS 10.6.8 machine. I have
installed Rserve and verified that it can start up just fine on its
own both by using the following commands in the R GUI:


and by running "R CMD Rserve" from the command line. After doing
either of those methods I can telnet to my localhost port 6311 and
verify that Rserve is running. However, when I try to start Rserve
(after killing any existing processes) by using the FastRWeb
code/start script, I get the following error:

##> SOCK_ERROR: bind error #13(access denied)

When I go into R GUI and run this under debug mode I get the same end
result. Here is the session transcript from R:

> Rserve(TRUE, args="--RS-conf /var/FastRWeb/code/rserve.conf --vanilla --no-save")
Starting Rserve on port 6311 :
 /Library/Frameworks/R.framework/Resources/bin/R CMD
--RS-conf /var/FastRWeb/code/rserve.conf --vanilla --no-save

Note: debug version of Rserve doesn't daemonize so your R session will
be blocked until you shut down Rserve.
Rserve 0.6-8 (338) (C)Copyright 2002-2011 Simon Urbanek
$Id: Rserv.c 338 2012-02-11 20:52:25Z urbanek $

Loading config file /etc/Rserv.conf
Failed to find config file /etc/Rserv.conf
Loading config file /var/FastRWeb/code/rserve.conf
conf> command="socket", parameter="/var/FastRWeb/socket"
conf> command="sockmod", parameter="0666"
conf> command="source", parameter="/var/FastRWeb/code/rserve.R"
Found source entry "/var/FastRWeb/code/rserve.R"
conf> command="control", parameter="enable"
Loaded config file /var/FastRWeb/code/rserve.conf

R version 2.15.0 (2012-03-30)
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

 Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

Executing source/eval commands from the config file.
voidEval: buffer parsed, stat=1, parts=1
result type: 20, length: 1
Calling R_tryEval for expression 1 [type=6] ...
Starting Rserve on pc24015
Loading packages...
Cairo: TRUE
Matrix: TRUE
FastRWeb: TRUE
##> SOCK_ERROR: bind error #13(access denied)
Expression 1, error code: 0
Done with initial commands.
Rserve: Ok, ready to answer queries.


At this point there is no Rserve process running, and telnetting to
port 6311 confirms no process is listening on that port. Any guidance
or help would be appreciated.

Joe Schwab

More information about the R-SIG-Mac mailing list