search for: starthttpserver

Displaying 1 result from an estimated 1 matches for "starthttpserver".

2010 Apr 01
0
export R data as web service
I'd like to access data in my R session from elsewhere via HTTP. My particular use case would be R on Linux, accessing data from Windows, all on the same intranet. Naively, when I say this, I imagine something like: > theData <- big.calculation.returning.data.frame() > startHttpServer(port=8675) (blocks until I C-c it) Elsewhere... http://linuxmachine:8675/htmlDF?theData -> HTML table version of data frame or http://linuxmachine:8675/csvDF?theData -> CSV export of data frame Then I C-c my server and continue working in R. Rserve has its own protocol, plus...