Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 577 Bytes

r-server.md

File metadata and controls

24 lines (17 loc) · 577 Bytes

XLLoop XLLoop

An R Function Server

About

Included in the download is an R implementation of the XLLoop server process. For more information on R try www.r-project.org.

Usage

The R server implementation consists of a single file: xlloop.R. The code listing for an example server is as follows:

> ProductTest <- function(x, y) x*y
>
> source("xlloop.R")
>
> XLLoopServer()

This creates a new server (a socket listening on port 5454) and will provide the function ProductTest, which can be invoked as:

=FS("ProductTest", 32, 1886.5)